Created
September 2, 2012 18:58
-
-
Save johnschimmel/3603162 to your computer and use it in GitHub Desktop.
installing python 2.7.x
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Installing Python 2.7.x | |
https://gist.github.com/3603162 | |
*********************************************** | |
Installing Python Setuptools | |
1) Download Python Setuptools | |
http://pypi.python.org/pypi/setuptools#downloads | |
Select the link associated with your python version | |
OSX Python 2.7.x | |
http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg#md5=fe1f997bc722265116870bc7919059ea | |
2) Install Setuptools | |
In Terminal, navigate to your Downloads direct | |
> cd ~/Downloads | |
Run the install | |
> sh setuptools-0.6c11-py2.7.egg | |
3) Download and install PIP | |
> sudo curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python | |
4) Install Virtualenv | |
> pip install virtualenv | |
check virtualenv version | |
> virtualenv --version | |
1.8 | |
5) Create web app directory | |
cd ~/Documents | |
mkdir dwd | |
cd dwd | |
mkdir week1 | |
cd week1 | |
6) Create virtualenv in 'week1' directory | |
> virtualenv venv --distribute | |
7) Activate virtualenv | |
> source venv/bin/activate | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment