about Windows x64 installation Mysql-python failure resolution

Source: Internet
Author: User
Tags windows x64

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.