Category : cx-freeze

I want to convert a application into an executable file and have use cx_freeze for that purpose. But i got this Error-Message: ……executable.py, line 86, in base raise ConfigError(f"no base named {name!r}") cx_Freeze.exception.ConfigError: no base named ‘Win32GUI’ Versions: Win 10 Home (x64); Python 3.9.6; Cx_Freeze 6.8; PyQt – 5.15.4; It’s strange because some time ago ..

Read more

I have the following code: from cx_Freeze import setup, Executable include_files =[] excludes = [] packages = [] includes = ["lxml", "pywin32"] exe = Executable( # what to build script="main.py", init_script=None, base=None, target_name="Test_Tool.exe", icon=None ) setup( name="Test Tool", version="0.1", description=’Test Tool’, options={"build_exe": {"excludes": excludes, "packages": packages, "include_files": include_files, "includes": includes}}, executables=[exe] ) The .exe file ..

Read more

I use cx_Freeze to freeze python app, it run my PC work well, But when I copy to my friend PC, it run errors? C:UsersIPCDesktoptexe.win32-3.8>PLC-Log.exe Traceback (most recent call last): File "D:python38_x32libsite-packagesnumpycore__init__.py", line 22, in <module> File "D:python38_x32libsite-packagesnumpycoremultiarray.py", line 12, in <module> File "D:python38_x32libsite-packagesnumpycoreoverrides.py", line 7, in <module> ImportError: DLL load failed while importing _multiarray_umath: 找不到指定的模块。 ..

Read more