Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating an executable
#5
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.
Reply


Messages In This Thread
Creating an executable - by vman44 - Apr-02-2020, 04:26 AM
RE: Creating an executable - by buran - Apr-02-2020, 04:46 AM
RE: Creating an executable - by vman44 - Apr-02-2020, 05:36 PM
RE: Creating an executable - by buran - Apr-02-2020, 06:11 PM
RE: Creating an executable - by vman44 - Apr-15-2020, 05:54 PM
RE: Creating an executable - by buran - Apr-15-2020, 06:02 PM
RE: Creating an executable - by vman44 - Apr-19-2020, 12:29 AM
RE: Creating an executable - by buran - Apr-19-2020, 07:56 AM
RE: Creating an executable - by vman44 - Apr-19-2020, 08:41 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Creating an executable from a script wolf8963 6 5,935 May-11-2020, 05:23 PM
Last Post: wolf8963

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020