下载VCForPython27.msi

来源:互联网 发布:动态最优化基础 蒋中一 编辑:程序博客网 时间:2024/06/05 19:34


error: Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat). Get it from http://aka.ms/vcpython27


重定向到

https://www.microsoft.com/en-us/download/details.aspx?id=44266



Microsoft Visual C++ Compiler for Python 2.7

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

    9.0.0.30729

    File Name:

    VCForPython27.msi

    Date Published:

    9/29/2014

    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 atpythonwheels.com 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 ofMicrosoft Visual Studio for any development work that does not directly interface with Python 2.7.
  • System Requirements
    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 isrequired for Python to automatically detect this compiler package.
      wheel is recommended for producing pre-built binary packages.
  • Install Instructions
      Installing and UninstallingThe 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, executemsiexec /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 thewheel package, updating to setuptools 6.0 or later, and addingsetup.py 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 tosetuptools 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 thewheel package and use pip wheel to produce a wheel that can be installed on machines without requiring this package.

0 0