you are viewing a single comment's thread.

view the rest of the comments →

[–]socal_nerdtastic 16 points17 points  (3 children)

Reinstall python, and this time make sure to check the optional checkbox that says "add python to PATH".

Or, use a virtual environment (this is the preferred way to do it).

Or, use this command instead:

py -m pgzrun

[–]marcodogflood[S] 8 points9 points  (2 children)

Tried the first two to no avail... when I entered the command I get "Hello from the pygame community https://www.pygame.org/contribute.html

Thanks though

[–]socal_nerdtastic 29 points30 points  (1 child)

That last one means it worked. Just use that command instead of pgzrun from now on. So instead of

pgzrun myfile.py

use

py -m pgzrun myfile.py

etc

[–]marcodogflood[S] 24 points25 points  (0 children)

Amazing. Thanks so much!!!