安装scrapy时出现安装错误

时间:2018-07-05 10:49:01

标签: python python-3.x windows-8.1

我的系统是Windows 8.1,并安装了python 3.7.2。现在,无论何时我尝试安装-> pip install scrapy

它总是向我显示以下错误:

error: [WinError 3] The system cannot find the path specified: 'C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v8.1\\lib'

----------------------------------------
Command "c:\users\user\appdata\local\programs\python\python37-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\User\\AppData\\Local\\Temp\\pip-install-5lpvl9q3\\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\User\AppData\Local\Temp\pip-record-5pmlq_y_\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\User\AppData\Local\Temp\pip-install-5lpvl9q3\Twisted\

感谢帮助!

1 个答案:

答案 0 :(得分:0)

拳头,您可以尝试升级setuptools,然后再试一次。 (您未指定仅Scrapy或尝试安装的所有其他产品有问题吗?)

main.cpp:17:13: error: reference to 'i' is ambiguous
       i = 5;      // ambiguous, B::C::i or A::i?

我的建议是在Windows上使用虚拟环境或 conda

方法如下:

clang