Hello Mark, I personally recommend PyInstaller over cx_Freeze, so I'm glad things worked out. Regarding your issue there is a similar case here:
https://github.com/pyinstaller/pyinstaller/issues/2137 Are you using the latest PyInstaller and PySide2 versions? There has been a couple of issues recently, like: https://bugreports.qt.io/browse/PYSIDE-942 but at the moment your error seems to be related to PyInstaller. Maybe you can drop by our IRC channel on freenode #qt-pyside and ask around when facing a new problem, since there are many people currently using PyInstaller. Cheers ________________________________________ From: PySide <[email protected]> on behalf of Mark <[email protected]> Sent: 26 February 2019 19:50 To: [email protected] Subject: [PySide] Creating deployable GUI app I've now successfully used PyInstaller to create a 'dist' folder with all the correct dependencies: C:\> C:\bin\py36\Scripts\pyinstaller.exe ^ --noupx -y -D -w --clean --log-level WARN ^ -p "C:\Program Files (x86)\Windows Kits\10\Redist\ucrt\DLLs\x64" ^ -p "C:\bin\py36\\Lib\site-packages\shiboken2" ^ -n MyApp -i icon.ico myapp.py This creates a dist subdir with a MyApp folder with all the correct .pyd's and .dll's (as far as I can tell). But when I run MyApp.exe I get a 'Fatal error detected' message saying 'Failed to execute script pyi_rth_pkgres'. So now I'm stuck again! Looking forward to the day the PySide2 project provides some nice Qt-quality support for redeployment:-) _______________________________________________ PySide mailing list [email protected] https://lists.qt-project.org/listinfo/pyside _______________________________________________ PySide mailing list [email protected] https://lists.qt-project.org/listinfo/pyside
