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 msvc9compiler.py 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.
Workaround:
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 :
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Setup\VC
2.2. If the python you are installing is 64-bit, create the following :
HKEY_CURRENT_USER\Software\Wow6432Node\Microsoft\VisualStudio\9.0\Setup\VC
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