Python---fix "unable to find Vcvarsall.bat" error

Source: Internet
Author: User
  1. First install MinGW, in the MinGW installation directory to find the Bin folder, find mingw32-make.exe, copy a renamed to Make.exe;
  2. Add the MinGW path to the environment variable path, for example, if I install MinGW into D:\MinGW\ , add D:\MinGW\bin to path ;
  3. Open a command-line window and enter the directory where you want to install the code in the command-line window;
  4. Enter the following command to install it.
  5. setup.py install build --compiler=mingw32

If you have installed VS2010 or VS2012, you can use the following method to resolve:
If you have Visual Studio installed, execute >
SET vs90comntools=%vs100comntools%
or with Visual Studio installed >
SET vs90comntools=%vs110comntools%
Python 2.7 looks for VS2008 compiled at setup.

Python---fix "unable to find Vcvarsall.bat" error

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