Scrapy安装投掷错误

时间:2017-08-31 17:33:39

标签: python web-scraping scrapy scrapy-spider

通过命令提示符在Windows 10中安装Scrapy时,我最后收到此消息。请告诉我可能出现的问题或如何克服它。

[WinError 2] The system cannot find the file specified

    ----------------------------------------
Command "c:\users\sarwar\appdata\local\programs\python\python35\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Sarwar\\AppData\\Local\\Temp\\pip-build-gigbscvh\\Twisted\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\Sarwar\AppData\Local\Temp\pip-xo9y3e03-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\Sarwar\AppData\Local\Temp\pip-build-gigbscvh\Twisted\

1 个答案:

答案 0 :(得分:0)

在Windows平台上安装scrapy的pip存在一些问题。我建议你使用Anaconda来安装scrapy并使用它。 Anaconda附带了许多其他软件包所需的预定义软件包。在使用python时,Anaconda对我来说一直都很有魅力。