MySQLdb installation

From RHS Wiki
Revision as of 06:26, 25 June 2015 by Rafahsolis (talk | contribs) (Created page with "Be sure you have pip installed on your machine using this command:<br /> *sudo easy_install pip<br /> If you already have pip installed, it’d be a good idea to upgrade it no...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 build-dep python-mysqldb

Install the Python MySQL libraries:

  • sudo pip install MySQL-python