Skip to content

Instantly share code, notes, and snippets.

@adamramadhan
Forked from kennethreitz/setup_python.markdown
Created August 18, 2010 18:20
Show Gist options
  • Save adamramadhan/535696 to your computer and use it in GitHub Desktop.
Save adamramadhan/535696 to your computer and use it in GitHub Desktop.

Proper Python in Windows

Prerequisites:

  • Python2.7 (x86) from Python.org
  • Microsoft Visual Studio

Step 1: Install Distribute & Pip

Distribute is a fantastic drop-in replacment for easy_install and setuptools. It allows you to install and manage python packages from PyPi, amongst a few other sources.

To install it, run the python script available here: http://python-distribute.org/distribute_setup.py

Make sure that C:\Python27\, and C:\Python27\Scripts are in your PATH.

easy_install is considered by many to be a deprecated system, so we will install it's replacment: pip. Pip allows for uninstallation of packages, and is actively maintained, unlike setuptool's easy_install.

To install pip, simply run:

easy_install pip

Then Install

pip install bpython

enjoy the new shiny interpreter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment