(Apr-26-2019, 11:08 AM)davork Wrote: This is the command that I run to generate an executable : pyinstaller.exe --onefile --icon=01.ico -- myscript.pyAfter you use this command
pyinstaller.exe --onefile --icon=01.ico myscript.py
you will get a myscript.spec
file.Edit the spec file to explicitly add hidden imports
then use
pyinstaller.exe --onefile --icon=01.ico myscript.spec
https://pythonhosted.org/PyInstaller/spec-files.html
by the way you may include also the icon in the spec file
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs