Click here to Skip to main content
15,069,297 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need to as i cant open the exe as some of my assets are not recognized. I just keep getting an error when trying to open the exe file.

What I have tried:

I have tried moving my assets into the
dist
file with the exe but i just keep getting errors.
Posted
Comments
Richard MacCutchan 19-Oct-20 12:54pm
   
We cannot possibly guess what errors you are referring to. What do you type in cmd and what result do you see?
Jermous 19-Oct-20 13:09pm
   
I type in pyinstaller main.py --onefile
and when I try opening the exe in the dist folder i get an error saying Failed to execute main script.
Richard MacCutchan 19-Oct-20 17:04pm
   
What files have been placed in the dist folder? Have you checked that main.py runs correctly?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900