win10 64位python3.4
使用pip install scrapy安装scrapy的时候出现错误
error: Microsoft Visual C++ 10.0 is required. Get it with "Microsoft Windows SDK 7.1": www.microsoft.com/download/details.aspx?id=8279
因此从http://www.lfd.uci.edu/~gohlke/pythonlibs/下载scrapy的两个依赖库lxml和twisted
分别安装:
pip install Twisted-16.4.1-cp34-cp34m-win_amd64.whl
pip install lxml-3.6.4-cp34-cp34m-win_amd64.whl
最后安装scrapy:
pip install scrapy
成功!
由于python3会发生错误——ImportError: No module named 'win32api'
到https://sourceforge.NET/projects/pywin32/files/pywin32/Build%20220/下载pywin