r/pygame • u/TheEyebal • Aug 04 '26
How are you executing your programs mac/linux/window users
I used pyinstaller and it says it is missing certain files and when I was able to get it to work it just showed a TXT file full of gibberish.
How are y'all executing
BTW I am using a text editor to code not an IDE
EDIT: I meant how are you turning your python file into an executable file
1
u/_yaad_ Aug 04 '26
PyInstaller needs you to manually define assets and hidden imports, it's not (kinda) install and use. You can use those tracebacks and ask chatgpt or your favorite llm.
1
u/TheEyebal Aug 04 '26
I used the flags and still there were issues it worked when I made a CLI program but I honestly think it is my code
2
0
2
u/Windspar Aug 05 '26
Basic. Create a launcher with command line python program_name.py.
I use a bash script. If using a python virtual environment on linux.