Install the program in the Visual Studio compiling environment

Source: Internet
Author: User

According to the tutorial, if vcvarsall. Bat cannot be found, you need to install the correct version of Visual Studio
Http://docs.cython.org/src/tutorial/cython_tutorial.html

Python 2.7.x uses vs2008. If it is not installed, you can install vs2008 Express. Is to view the vs compiler version used by.

You can check whether vs90comntools exists in the environment variables to determine whether vs2008 Express is installed.

The configuration process is as follows:

  1. Install vs2008 express first. This article provides the following information:
    Http://stackoverflow.com/questions/15318560/visual-c-2008-express-download-link-dead

  2. If the following error occurs during running, you must add two environment variables.

    C: \ python27 \ include \ pyconfig. H (227): Fatal error c1083: cannot open
    Include File: 'basetsd. H': no such file or directory

  3. This article provides a solution:
    Https://github.com/NOAA-ORR-ERD/PyGnome/wiki/FAQ-Troubleshoot
    Add the include and Lib environment variables to solve the problem.
    Include = "C: \ Program Files \ microsoft sdks \ windows \ v6.0a \ include"
    Lib = "C: \ Program Files \ microsoft sdks \ windows \ v6.0a \ Lib"

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.