win10,使用pip install Scrapy 安装框架报错

Command "d:\scrapytest\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\Users\as\AppData\Local\Temp\pip-install-flbzqzcx\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\as\AppData\Local\Temp\pip-record-wwphay9q\install-record.txt --single-version-externally-managed --compile --install-headers d:\scrapytest\include\site\python3.6\Twisted" failed with error code 1 in C:\Users\as\AppData\Local\Temp\pip-install-flbzqzcx\Twisted\

1个回答

打开 https://www.lfd.uci.edu/~gohlke/pythonlibs/ ,Scrapy ,找到你对应的版本下载,然后用pip install +路径+文件名 命令安装
https://blog.csdn.net/weixin_39416561/article/details/83375409

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!