Scrapy使用心得

今天安装了大名鼎鼎的Scrapy,不过碰到了不少问题,包括“Unable to find vcvarsall.bat”

这个错误应该很常见的,用了最简单的解决方法: 安装visual 2008或者2010

其他的方法实在是太折腾了,幸好电脑上刚好有2010的安装包。

第二个问题是:"Could not find a version that satisfies the requirement win32api"

折腾的过程就不说了,我的解决方法是:

pip install wheel

然后到 Python Extension Pakage for Windows 下载对应版本的pywin32包

然后 pip install pywin32-219-cp27-none-win32.whl 

接着记得到 C:\Python27\Scripts 下执行

python pywin32_postinstall.py -install

就大功告成了!

posted @ 2015-10-17 14:17  Hisheng  阅读(150)  评论(0编辑  收藏  举报