Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyGame] Getting started
#7
(Feb-21-2018, 06:57 AM)goofymdjd Wrote: Do I type "pip install pygame" or "python -m pip install pygame" into the
Python shell? on Windows command propmt? in a saved python file?
For future searchers....

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:
Reply


Messages In This Thread
Getting started - by goofymdjd - Feb-20-2018, 09:57 PM
RE: Getting started - by metulburr - Feb-20-2018, 11:50 PM
RE: Getting started - by Windspar - Feb-21-2018, 02:02 AM
RE: Getting started - by metulburr - Feb-21-2018, 02:58 AM
RE: Getting started - by goofymdjd - Feb-21-2018, 06:57 AM
RE: Getting started - by goofymdjd - Feb-21-2018, 08:17 AM
RE: Getting started - by metulburr - Feb-21-2018, 07:20 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020