Install mysql-python (Windows) Install mysql-python (Windows) django django

Install mysql-python (Windows)


try running the following command:

pip install mysqlclient


If you are trying to use mysqlclient on WINDOWS with this failure, try to install the lower version instead:

pip install mysqlclient==1.3.4


if you use the site http://www.lfd.uci.edu/~gohlke/pythonlibs/#mysql-python , download the file:

  • mysqlclient‑1.3.6‑cp34‑none‑win32.whl or

  • mysqlclient‑1.3.6‑cp34‑none‑win_amd64.whl

depending on the version of python you have (these are for python 3.4) and the type of windows you have (x64 or x32)

extract this file into C:\Python34\Lib\site-packages and your project will work