Skip to content

Instantly share code, notes, and snippets.

Created Apr 29, 2014
What would you like to do?
cd /usr/src/
yum install openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel compat-db db4 db4-devel unixODBC-devel libtool-ltdl-devel
#Install python
tar xfvz Python-2.7.6.tgz
cd Python-2.7.6
./configure --prefix="/opt/python27/"
make install
#Install setuptools
cd /usr/src/
tar xfvz setuptools-1.1.4.tar.gz
cd setuptools-1.1.4
/opt/python27/bin/python install
#Install pip
/opt/python27/bin/easy_install pip
mkvirtualenv -p /opt/python27/bin/python p_27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment