Microsoft Visual C++ Compiler for Python 2.7

This package contains the compiler and set of system headers necessary for producing binary wheels for Python 2.7 packages.
  • Version:

    File Name:


    Date Published:


    File Size:

    83.8 MB

      This package contains the compiler and set of system headers necessary for producing binary wheels for Python packages. A binary wheel of a Python package can then be installed on any Windows system without requiring access to a C compiler.

      The typical error message you will receive if you need this compiler package is Unable to find vcvarsall.bat

      This message appears because the Python package being installed contains the source code for a native extension module (.pyd), but does not have a pre-built copy of the module. The Python packages highlighted at have already been updated by their developers to include pre-built binaries, but many are still only available as source code.

      This compiler package is entirely unsupported and represents a snapshot of the last version that is fully compatible with Python 2.7. For the latest security and bug fixes, please use the latest version of Microsoft Visual Studio for any development work that does not directly interface with Python 2.7.
  • Supported Operating System

    Windows 7, Windows 8, Windows 8.1

      Microsoft Visual C++ 2008 SP1 Redistributable Package (x86, x64)
      Windows 8 and later require the Microsoft .NET Framework 3.5. See here for installation instructions.

      Disk Space Requirements
      Installation requires 380 megabytes (MB) of hard disk space.

      Python Packages
      setuptools 6.0 or later is required for Python to automatically detect this compiler package.
      wheel is recommended for producing pre-built binary packages.
    • Installing and Uninstalling The compiler package will default to installing just for the current user and does not require administrative privileges. To install for all users of a machine, execute msiexec /i <path to MSI> ALLUSERS=1 from an elevated Command Prompt.

      To remove or repair the compiler package, locate the entry in Programs and Features and select Remove or Repair.

      Using with Python distribution tools
      Python package developers should download and use this compiler to produce binary wheels for their Python packages to upload to PyPI. Installing the wheel package, updating to setuptools 6.0 or later, and adding bdist_wheel upload to your build process will produce the correct files (remember to do this for both 32-bit and 64-bit versions).

      If a Python package you are installing does not have a wheel, you can install this compiler package on your own machine. Once the compiler is installed and you have updated to setuptools 6.0 or later, you can use pip install to build and install the Python package. If you are managing multiple machines and need to install the Python package on all of them, you should install the wheel package and use pip wheel to produce a wheel that can be installed on machines without requiring this package.
Site feedback

What category would you like to give web site feedback on?

Rate your level of satisfaction with this web page today: