Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
6.0.1
-
None
-
Python 3.8.5 64-bit
Description
I have an app based on PySide6. It gets built with cxfreeze and executed fine on PySide 6.0.0.
However after upgrading to 6.0.1 the executable fails with the following error:
--------------------------- cx_Freeze: Python error in main script --------------------------- Traceback (most recent call last): File "d:\python38\lib\site-packages\cx_Freeze\initscripts__startup__.py", line 41, in run module.run() File "d:\python38\lib\site-packages\cx_Freeze\initscripts\Console.py", line 36, in run exec(code, m.__dict__) File "myapp.py", line 3, in <module> File "C:\Users\user\AppData\Local\Temp\embedded._ngy9us3.zip\shibokensupport__feature__.py", line 140, in _import ImportError: DLL load failed while importing QtWidgets: The specified module could not be found.
The line referenced in the error above (line 3) is as follows:
from PySide6.QtWidgets import QWidget, QApplication, QSystemTrayIcon, QMenu, QDialog, QTableWidgetItem, QAbstractScrollArea, QTableWidgetSelectionRange, QMainWindow, QMessageBox, QStyleFactory
The build command is:
cxfreeze myapp.py --target-dir dist --base-name Win32GUI --include-modules atexit