1

I have a pathfinding maze program that uses the Pygame module, and for whatever reason whenever I run the pyinstaller --onefile argument, I get Failed to execute script main. I moved all my assets over to the new folder so it's not that. I also don't have any fonts in my code.

Exact command I'm running: pyinstaller main.py --onefile --noconsole If I run it withouth the --onefile, it works perfectly.

DJLaser
  • 11
  • 2

0 Answers0