Installing pygame

From TRCCompSci - AQA Computer Science
Revision as of 13:09, 26 January 2018 by Admin (talk | contribs) (Created page with "==Manual Installation== if you have access to the command line, and have already installed Python 3 (ie not via Visual Studio etc) you can type the following command to insta...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Manual Installation

if you have access to the command line, and have already installed Python 3 (ie not via Visual Studio etc) you can type the following command to install PyGame:

python3 -m pip install pygame

Visual Studio 2017

If you added the Python option during the install process, Python3 should be installed along with the pip program. So on the tools tab, look for Python and then choose Python Environments.

Now you should see a combo box with overview selected, change this to packages. This will show the packages currently installed, one should be pip. If at this stage pygame is listed then it is already installed if not, In the search box type pygame and press enter.

You might get a message to escalate your privilges, choose yes. This will now install pygame, one final step is to change the combo box to Intellisense, this will add the pygame commands to the intellisense system.