Skip to content

Instantly share code, notes, and snippets.

@omaskery
Created October 25, 2015 14:33
Show Gist options
  • Save omaskery/ebc837f77b08ddd1653f to your computer and use it in GitHub Desktop.
Save omaskery/ebc837f77b08ddd1653f to your computer and use it in GitHub Desktop.
instructions for getting up and running with python 3.5/pygame/pycharm/github
python 3.5 (32-bit): https://www.python.org/ftp/python/3.5.0/python-3.5.0.exe
pygame 1.9.2 (compatible with python 3.5 32-bit): http://www.lfd.uci.edu/~gohlke/pythonlibs/xmshzit7/pygame-1.9.2a0-cp35-none-win32.whl
pycharm community edition 4.5.4: https://d1opms6zj7jotq.cloudfront.net/python/pycharm-community-4.5.4.exe
github for windows installer: https://github-windows.s3.amazonaws.com/GitHubSetup.exe
run python installer:
- when it gives option to "Install Now" or "Customize installation":
- if you DON'T care where it goes, click the checkbox "Add Python 3.5 to PATH" and click "Install Now"
- if you DO care where it lives on your computer, choose "Customize installation"
- when it lists advanced options and stuff:
just choose where you want it installed
tick "Set Python environment variables (PATH and PATHEXT)"
and, "Precompile standard library" (because why not)
- to check things worked, you should have a new program on your start menu:
"Python 3.5 (32-bit)"
Run this program, and it should open a little terminal window, type into it:
print("Hello, World!")
It should print this back at you, the future is now!
to install pygame:
- open a command prompt/powershell to where you downloaded the pygame ".whl" file
- then run the following command, telling python to install the pygame library:
pip3 install .\pygame-1.9.2a0-cp35-none-win32.whl
- to test it worked, open a python terminal (see above in last step of running python installer [testing it worked])
into the terminal type:
import pygame
if no error comes out, happy days!
to install pycharm and github, run installer, usual jazz, nothing fancy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment