Feb-21-2018, 07:20 PM
(Feb-21-2018, 06:57 AM)goofymdjd Wrote: Do I type "pip install pygame" or "python -m pip install pygame" into theFor future searchers....
Python shell? on Windows command propmt? in a saved python file?
Pip install pygame assumes you have navigated to the scripts directory in python location you installed omitting the .py OR have added python to the PATH. Which python gives the option to in the installer.
Python -m pip install pygame invokes the pip to whatever the version is of 'python'. You can easily choose which python version you want to install the library to if you have numerous python versions.
Both of these are system commands in the windows command prompt. They both assume python and/or pip is in the PATH.
Recommended Tutorials: