Win7 64 installation Mysql-python Error resolution

Source: Internet
Author: User

To use Django for project development recently, you need to use the Mysql-python module.

In the local installation of the environment when the error occurred,unable to find Vcvarsall.bat

Find a lot of information on the Internet, found that the window platform itself without the compilation system, and installation Mysql-python need to compile. The online approach is to install vs2008 or MinGW, which is very troublesome. Then I finally found another super-simple way.

Originally a foreign university-University of California, Irvine, Christoph Gohlke provides a large number of Python unofficial plug-in Module installation package: Direct download with PIP installation is possible.

Here is the link address, sincere thanks to foreigners.

www.lfd.uci.edu/~gohlke/pythonlibs/

Open Web site Find Mysql-python module

Select a fourth WHL file. Due to the slow download speed, here is my link

Open cmd in file location, run pip install MYSQL_PYTHON?1.2.5?CP27?NONE?WIN_AMD64.WHL

You will be prompted to install successfully without an accident.

Win7 64 installation Mysql-python Error resolution

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.