Skip to content

Instantly share code, notes, and snippets.

@prakhar1989
Last active August 29, 2015 14:12
Show Gist options
  • Save prakhar1989/a8541b1cacd0f78fe06a to your computer and use it in GitHub Desktop.
Save prakhar1989/a8541b1cacd0f78fe06a to your computer and use it in GitHub Desktop.
Python on CentOS
# installing dependencies 
yum install python-pip
sudo pip install virtualenv

# setup python2.7 
yum install python27
virtualenv -p /usr/bin/python2.7 venv

# required for mysql
yum install mysql-devel
yum install python27-devel
sudo pip install MySQL-python

and its done 👍

@prakhar1989
Copy link
Author

See this for correct installation instructions for Python 2.7

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