Solve the problem of Python under PIP install Mysql-python failure

Source: Internet
Author: User

Command:

Pip Install Mysql-python

Error:

_MYSQL.C: Fatal error C1083:cannot open include file: ' Config-win.h ': No such file or Directoryerror:command ' c:\\p Rogram Files (x86) \\Common files\\microsoft\\visual C + + for Python\\9.0\\vc\\bin\\cl.exe ' failed with exit status 2

Environment:

os:win7-64bitpython:2.7.9

Solution:

Download the corresponding file here

Http://www.codegood.com/downloads

There is files, weighing 7.9 MiB in total .

Displaying 1 to one of the files.

Mysql-python for Windows Distributions

Mysql-python-1.2.2.win-amd64-py2.5.rar
? 862.5 Kib-may 2, 2009
MySQLdb 1.2.2 for Windows and Python 2.5

Mysql-python-1.2.2.win-amd64-py2.6.exe
? 1.0 Mib-may 2, 2009
MySQLdb for Windows and Python 2.6

Mysql-python-1.2.2.win32-py2.6.exe
? 1,022.8 Kib-may 2, 2009
MySQLdb 1.2.2 for Windows and Python 2.6

Mysql-python-1.2.3.win-amd64-py2.7.exe
? 1.0 Mib-september 19, 2010
MySQLdb 1.2.3 for Windows and Python 2.7

Mysql-python-1.2.3.win32-py2.7.exe
? 1,023.1 Kib-september 19, 2010
MySQLdb 1.2.3 for Windows and Python 2.7

Mysql-python-1.2.3c1.win-amd64-py2.6.exe
? 1.0 Mib-may 2, 2009
MySQLdb 1.2.3c1 for Windows and Python

Mysql-python-1.2.3c1.win32-py2.6.exe
? 1,023.2 Kib-may 2, 2009
MySQLdb 1.2.3c1 for Windows and Python 2.6

Mysql-python-embedded-1.2.2.win-amd64-py2.6.exe
? 261.0 Kib-may 2, 2009
MySQLdb 1.2.2 for Windows and Python 2.6, Embedded Server

Mysql-python-embedded-1.2.2.win32-py2.6.exe
? 231.9 Kib-may 3, 2009
MySQLdb 1.2.2 for Windows and Python 2.6, Embedded Server.

Mysql-python-embedded-1.2.3c1.win-amd64-py2.6.exe
? 261.4 Kib-may 2, 2009
MySQLdb 1.2.3c1 for Windows and Python bit, Embedded Server

Mysql-python-embedded-1.2.3c1.win32-py2.6.exe
? 232.3 Kib-may 3, 2009
MySQLdb 1.2.3c1 for Windows and Python 2.6, Embedded Server.


Effect:

Pip install mysql-pythonrequirement already satisfied (use--upgrade to upgrade): Mysql-python in C:\python27\lib\site-pa Ckagescleaning up ...


Solve the problem of Python under PIP install Mysql-python failure

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.