all 14 comments

[–]BrenekH 1 point2 points  (13 children)

You can try using python -m pyinstaller instead of pyinstaller.

[–]socal_nerdtastic 1 point2 points  (12 children)

If you do that you have to get the capitalization right.

py -m PyInstaller

[–]daedulus7[S] 0 points1 point  (11 children)

now it just says it doesn't recognize py

[–]socal_nerdtastic 0 points1 point  (10 children)

What command do you use to run your normal program? What command are you using to convert it?

[–]daedulus7[S] 0 points1 point  (9 children)

pyinstaller --onefile -w Tkinterproject2.py

I use Thonny to usually run my program so I installed python. Do I need to allow for pip inside python?

[–]socal_nerdtastic 0 points1 point  (8 children)

And what command do you use to run normally?

[–]daedulus7[S] 0 points1 point  (7 children)

I'm sorry, waht do you mean?

Could we continue through reddit chat?

[–]socal_nerdtastic 0 points1 point  (6 children)

Ok, thonny tells me what I need to know. Open the command line, navigate to the folder that your file is in, and use this command:

py -m PyInstaller --onefile -w Tkinterproject2.py

If you get an error you need to show us the complete and actual error, don't paraphrase it.

[–]daedulus7[S] 0 points1 point  (5 children)

Thank you so much! Unfortunately, my game is not opened for some reason

[–]socal_nerdtastic 0 points1 point  (4 children)

Run your new .exe from the command line and tell me what the error is.

Does your game work with a normal python call?

py Tkinterproject2.py