开发者

Can't find vcvarsall.bat file [duplicate]

开发者 https://www.devze.com 2023-03-08 18:45 出处:网络
This ques开发者_JAVA百科tion already has answers here: error: Unable to find vcvarsall.bat (42 answers)
This ques开发者_JAVA百科tion already has answers here: error: Unable to find vcvarsall.bat (42 answers) Closed 7 years ago.

I'm trying to install Scrapy on my computer using pip. For the most part it works, but after a short while in the installation I get an error saying "unable to find vcvarsall.bat. I've looked around for help, and most sources say just to install Visual Express 2008. However, even after doing this, when I navigate to C:\Program Files (x86)\Microsoft Visual Studio 8\VC, I don't see the vcvarsall.bat file. Any ideas?


Issue with disutils not finding vcvarsall.bat. It should be fixed in some release

There is a workaorund for compiling. Try this blog


UPDATED
We can install Microsoft Visual C++ Compiler for Python 2.7 to solve this vcvarsall.bat problem.

First install lxml by Windows Installer from PyPI, it would save a lot from libxml2 and libxslt include or lib issues.

Then install Scrapy by pip should be easy.

ORIGINAL
Microsoft Visual Studio 8 is VS2005.

Default directory of Visual C++ 2008 Express Edition should be C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\

Or you can just download the Scrapy installer for Python2.6.

Scrapy-0.12.0.2542.win32-py2.6.exe

Scrapy-0.12.0.2542.win-amd64-py2.6.exe


Hmmm... it should be there.

http://msdn.microsoft.com/en-us/library/x4d2c09s%28v=VS.90%29.aspx

According to Microsoft, that is the "default" location, so it could be in another location. How about a file system search below "Program Files (x86)"?

0

精彩评论

暂无评论...
验证码 换一张
取 消