Summary of Windows installation Python issues

Source: Internet
Author: User

I. Installation Support PACKAGE

Many binary package numpy-1.9+mkl and Microsoft Visual C + + (x64, x86, and SP1 for CPython 2.6 and 2.7), Visual C + + (x64, x86, For CPython 3.3 and 3.4), or the Visual C + + (x64 and x86 for CPython 3.5) redistributable support, make sure that these are installed first.

I. Installation Mysql-python

1. "Unable to find Vcvarsall.bat" error encountered

The reason for this error is that the in the Python distutils module does not look for ' vcvarsall.bat ' in the path specified by the environment variable, but rather through the registry to find ..., however, it is not known why the compiler installation process did not configure the registry.


As long as the registry is configured manually, it is OK.
1. Open Registry Editor
Run regedit
2. Configuration
2.1. If the python you are installing is 32-bit, create the following :
2.2. If the python you are installing is 64-bit, create the following :
3. And create a new string value under this key:
Name: productdir
Data: Vcvarsall.bat Path
Note: The path does not contain the last backslash.

Summary of Windows installation Python issues

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: 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.