Category : pyinstaller

I am building a PyQT5 application and bundling it with PyInstaller. The application is split into two parts: GUI.py and main.py. Upon dialog submission, GUI.py will call main.py. However, the bundled executable could not resolve the main.py import. # GUI.py from main_file import main ### GUI STUFF ### My spec file looks something like this. ..

Read more

I’m using the command : pyinstaller -w -F main.py And I got this message when I tried to run the exe file: Traceback (most recent call last): File "main.py", line 1, in <module> File "PyInstallerloaderpyimod03_importers.py", line 476, in exec_module File "ms_word.py", line 2, in <module> File "PyInstallerloaderpyimod03_importers.py", line 476, in exec_module File "docx_init_.py", line 3, ..

Read more

I’m trying to use pyinstaller with a simple python program. Creating the windows .exe completes successfully but when I run the .exe program, I get the error .distmyappmyapp.exe Traceback (most recent call last): File "pac_cleanermyapp.py", line 2, in <module> import pyreadstat as pr File "PyInstallerloaderpyimod03_importers.py", line 495, in exec_module File "pyreadstat__init__.py", line 17, in <module> ..

Read more

When I use pyinstaller to convert my .py file to .exe, I got this error:- IndexError: tuple index out of range Python : 3.10 PyInstaller : 5.0 (development) C:UsersDELLDesktopJarvisDCJarvis>pyinstaller JarvisFEMALE.py 490 INFO: PyInstaller: 5.0.dev0 490 INFO: Python: 3.10.0 517 INFO: Platform: Windows-10-10.0.19043-SP0 520 INFO: wrote C:UsersDELLDesktopJarvisDCJarvisJarvisFEMALE.spec 527 INFO: UPX is not available. 533 INFO: Extending ..

Read more