Now follow these instructions: https://python-guide.readthedocs.org/en/latest/starting/install/win.html
Use distribute, not setuptools as described here
/UPDATE
I've set up Python 2.7 on several wind0ze machines recently, these are the "best practice" steps I now use:
- Download and install Python 2.7 to C:\Python27
- Download and install setuptools to C:\Python27\Lib\site-packages\
(setuptools includes easy_install, so we can install pip! Read instructions for 32 vs 64bit versions) - Add env variable PYTHON_HOME=C:\Python27
- Append env variable PATH with ;%PYTHON_HOME%;%PYTHON_HOME%\Scripts;
- Run C:\Python27\Scripts>easy_install-2.7 pip to install pip
- Install virtualenv: easy_install-2.7 virtualenv (now all pip install commands I run from a new virtualenv)
That takes care of the base environment.
Next is to install packages as required, remembering that matplotlib is best installed using an installer after executing "pip install numpy".
References:
pip Installation instructions (recommends installing pip using virtualenv)
Public service announcement (tool transition infographic)
Tools of the Modern Python Hacker: Virtualenv, Fabric and Pip (covers the new cool tools)
How to install pip on Windows (installing pip globally using setuptools)Installing matplotlib
