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:
Install vs2008 express first. This article provides the following information:
Http://stackoverflow.com/questions/15318560/visual-c-2008-express-download-link-dead
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
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"