Mysql-python just have 32-bit system installation package, if download EXE or PIP installation, will also error.
The error is as follows:
_MYSQL.C (): Fatal error c1083:cannot include:: No such directoryerror:command l.exe---------------------------------- ------Cleaning up ... Command C:\Users\Admin1\Desktop\python\virtual\Scripts\python.exe-c Uptools, tokenize;__file__=mysql-python\\ Setup.pyead (). replace (,), __file__,)) \appdata\local\temp\\pip-pmwrd-record\install-record.txt-- single-version-externally-managed----Install-headers C:\Users\Admin1\Desktop\python\virtual\include\site\ Python2failed error code C:\Users\Admin1\Desktop\python\virtual\build\MySQL-pythonStoring debug log Failure C:\Users\ Admin1\pip\pip.
You need to install MySQL database and VC related libraries, and you only need to facilitate remote connection to the server database operation and learning Python, so there is no need to install these.
Find the following workaround:
Install using wheel
Pip Install Wheel
Mysql_python installation version http://www.lfd.uci.edu/~gohlke/pythonlibs/#mysql-python
After downloading, use the PIP installation directly:
Pip Install MYSQL_PYTHON-1.2.5-CP27-NONE-WIN_AMD64.WHL
As follows:
650) this.width=650; "src=" http://s1.51cto.com/wyfs02/M01/7C/AC/wKiom1bVX_eQrP1eAAaimxlVzTc369.jpg "title=" 01.jpg "alt=" Wkiom1bvx_eqrp1eaaaimxlvztc369.jpg "/>
This will make the installation successful.
This article is from the "Urban Cloth" blog, please be sure to keep this source http://sunday208.blog.51cto.com/377871/1746404
about Windows x64 installation Mysql-python failure resolution