Apr-15-2020, 05:54 PM
Sorry for the delay in posting this.
Pyinstaller runs w/o giving any errors.
The problem is when I run the actual executable file.
It says "failed to execute script.py"
I tried putting all the images & audio files into the same folder
as my script file. I then ran pyinstaller as:
pyinstaller -w -add-data*img file 1* -add-data*img-file 2*, etc. script.py
That didn't help. The only thing that changed was that when I ran
the executable, it opened a black window on my screen & then it gave
me the annoying window about "failed to execute script.py"
I'm thinking I need to make a spec file.
I couldn't find any tutorial on this topic.
If there are any available, please let me know.
Pyinstaller runs w/o giving any errors.
The problem is when I run the actual executable file.
It says "failed to execute script.py"
I tried putting all the images & audio files into the same folder
as my script file. I then ran pyinstaller as:
pyinstaller -w -add-data*img file 1* -add-data*img-file 2*, etc. script.py
That didn't help. The only thing that changed was that when I ran
the executable, it opened a black window on my screen & then it gave
me the annoying window about "failed to execute script.py"
I'm thinking I need to make a spec file.
I couldn't find any tutorial on this topic.
If there are any available, please let me know.