pyinstaller PYQT5
-
Hello Everybody, I am apprehensive about showing my code, I want to sell this program, however at the same time I desperately need help. It is a technical program, some numerical analysis graphing with PYQT5 and QWT, it runs fine on the compiler, I compiled it with Spyder-3.4 running on Windows 10,pyinstaller-3.3, but for some reason it just will not build, I have tried everything in the pyinstaller manual 'When things go wrong'. Initially I ran into the 'recurrsion problem', pasting into the spec file to set recursion to 5000 solved that problem, I have disabled Norton properly, I have tried both --onefile and --onedir, on either it seems to build an exe fine but having set --debug when I click on it I get all of the info's that it's setting up to run and configuring everything and then finally 'failure to run the untitled7.py' and it fails then cleans the cache.
Command line initially is:
C:\Users\JosephPalumbo\Python34\WinPython-64bit-3.4.4.3Qt5\python-3.4.4.amd64\Lib\site-packages\pyinstaller-3.3.1>pyinstaller --clean --noconsole --onedir --debug C:\Users\JosephPalumbo\Python34\WinPython-64bit-3.4.4.3Qt5\python-3.4.4.amd64\Lib\site-packages\pyinstaller-3.3.1\untitled7.py
Then after I paste recursion 5000 into spec file:
C:\Users\JosephPalumbo\Python34\WinPython-64bit-3.4.4.3Qt5\python-3.4.4.amd64\Lib\site-packages\pyinstaller-3.3.1>pyinstaller C:\Users\JosephPalumbo\Python34\WinPython-64bit-3.4.4.3Qt5\python-3.4.4.amd64\Lib\site-packages\pyinstaller-3.3.1\untitled7\untitled7.spec
Please help anybody!!!! -
Hello Everybody, I am apprehensive about showing my code, I want to sell this program, however at the same time I desperately need help. It is a technical program, some numerical analysis graphing with PYQT5 and QWT, it runs fine on the compiler, I compiled it with Spyder-3.4 running on Windows 10,pyinstaller-3.3, but for some reason it just will not build, I have tried everything in the pyinstaller manual 'When things go wrong'. Initially I ran into the 'recurrsion problem', pasting into the spec file to set recursion to 5000 solved that problem, I have disabled Norton properly, I have tried both --onefile and --onedir, on either it seems to build an exe fine but having set --debug when I click on it I get all of the info's that it's setting up to run and configuring everything and then finally 'failure to run the untitled7.py' and it fails then cleans the cache.
Command line initially is:
C:\Users\JosephPalumbo\Python34\WinPython-64bit-3.4.4.3Qt5\python-3.4.4.amd64\Lib\site-packages\pyinstaller-3.3.1>pyinstaller --clean --noconsole --onedir --debug C:\Users\JosephPalumbo\Python34\WinPython-64bit-3.4.4.3Qt5\python-3.4.4.amd64\Lib\site-packages\pyinstaller-3.3.1\untitled7.py
Then after I paste recursion 5000 into spec file:
C:\Users\JosephPalumbo\Python34\WinPython-64bit-3.4.4.3Qt5\python-3.4.4.amd64\Lib\site-packages\pyinstaller-3.3.1>pyinstaller C:\Users\JosephPalumbo\Python34\WinPython-64bit-3.4.4.3Qt5\python-3.4.4.amd64\Lib\site-packages\pyinstaller-3.3.1\untitled7\untitled7.spec
Please help anybody!!!!@LateCreate said in pyinstaller PYQT5:
I am apprehensive about showing my code, I want to sell this program
This does not answer your problem, but are you aware that by choosing to use PyQt5 (unless you buy it commercially) you are obliged to publish your own application's source code? Not to mention, if it's Python and you don't do something special about it your code is visible anyway? Just a heads-up.
-
Thanks JonB for reading my post, after I build the program I would like to ask you questions about that.