Scrapy使用心得

时间:2021-07-27 23:40:49

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

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

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

第二个问题是:"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

就大功告成了!Scrapy使用心得