Setup Python environment

$ curl -kL http://xrl.us/pythonbrewinstall | bash
$ echo 'source /home/takamario/.pythonbrew/etc/bashrc' >> ~/.bash_profile

$ pythonbrew version
1.1

$ pythonbrew install 2.7.2

$ pythonbrew switch 2.7.2

$ which 
/home/takamario/.pythonbrew/pythons/Python-2.7.2/bin/python

$ python -V
Python 2.7.2

$ pip install \
    mercurial \
    pymongo \
    redis \ 
    sphinx \
    virtualenv \
    virtualenwrapper

Share this

Related Posts