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?
Asked
Active
Viewed 1.5k times
5
-
EDIT: Oct 11 2014. I didn't find a good answer to this when I asked three years ago, but accepted @silverfox's which vaguely helped. If someone finds an answer which can be corroborated, I'll accept, but I don't want to throw people off so I recently unaccepted that answer. – Ceasar Oct 11 '14 at 19:41
3 Answers
1
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.

silverfox
- 5,254
- 1
- 21
- 26
-
I get `ImportError: No module named twisted.internet` after using installer. I don't think the installer handles dependencies, unfortunately. – Muhd Oct 29 '11 at 03:17
-
2@CeasarBautista Could you write what information from the above answer solved your problem? – Piotr Dobrogost Jan 01 '12 at 20:57
0
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)"?

charley
- 5,913
- 1
- 33
- 58
-
Just gave it a go. No luck. I'll try reinstalling. EDIT: Actually found it in Visual Studio 9 if that means anything, but nowhere else. – Ceasar May 25 '11 at 15:27