[英]Not able to install scrapy in my windows 10 x64 machine
I got pip install scrapy
in cmd,我在 cmd 中
pip install scrapy
了pip install scrapy
,
it said Collecting scrapy
and after a few seconds I got the following error:它说
Collecting scrapy
,几秒钟后我收到以下错误:
Command "c:\\python35\\python.exe -u -c "import setuptools, tokenize;__file__='C:\\\\Users\\\\DELL\\\\AppData\\\\Local\\\\Temp\\\\pip-build-2nfj5t60\\\\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\\DELL\\AppData\\Local\\Temp\\pip-0bjk1w93-record\\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\\Users\\DELL\\AppData\\Local\\Temp\\pip-build-2nfj5t60\\Twisted\\
I am not able to get the error.我无法得到错误。
使用pip3
代替pip
因为您使用的是python3
Just fixed the issue using this:刚刚使用这个解决了这个问题:
Done!完毕!
According to scrapy documentation it doesn't run on Python 3.5 on windows machine.根据scrapy文档,它不能在Windows机器上的Python 3.5上运行。 Try using python 2.7 (perhaps in virtualenv) and see what happens.
尝试使用 python 2.7(可能在 virtualenv 中),看看会发生什么。
https://doc.scrapy.org/en/latest/intro/install.html https://doc.scrapy.org/en/latest/intro/install.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.