MySQLdb installation
Revision as of 08:42, 25 June 2015 by Rafahsolis (talk | contribs)
Be sure you have pip installed on your machine using this command:
- sudo easy_install pip
If you already have pip installed, it’d be a good idea to upgrade it now:
- sudo pip install pip --upgrade
Build the dependencies for python-mysqldb libraries:
- sudo apt-get install python-dev libmysqlclient-dev python-mysqldb
Install the Python MySQL libraries:
- sudo pip install MySQL-python