1500字范文,内容丰富有趣,写作好帮手!
1500字范文 > win10 安装scrapy 出现LINK : fatal error LNK1158: cannot run 'rc.exe' 错误的解决办法

win10 安装scrapy 出现LINK : fatal error LNK1158: cannot run 'rc.exe' 错误的解决办法

时间:2020-07-18 17:31:50

相关推荐

win10 安装scrapy 出现LINK : fatal error LNK1158: cannot run 'rc.exe' 错误的解决办法

在安装scrapy时出现如下错误:

Finished generating code

LINK : fatal error LNK1158: cannot run 'rc.exe'

error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\link.exe' failed with exit status 1158

----------------------------------------

Command "d:\laipai_code\laipai_webcrawler_v7.0\djangostart\django_py3\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\

\jackfull\\AppData\\Local\\Temp\\pip-install-ot3c65ym\\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\jackfull\AppData\Local\Temp\pip-record-whqb0p6c\install-rec

ord.txt --single-version-externally-managed --compile --install-headers d:\laipai_code\laipai_webcrawler_v7.0\djangostart\django_py3\include\sit

e\python3.6\Twisted" failed with error code 1 in C:\Users\jackfull\AppData\Local\Temp\pip-install-ot3c65ym\Twisted\

解决办法:

从此路径C:\Program Files (x86)\Windows Kits\8.1\bin\x86复制

rc.exe rcdll.dll

两个文件

到另一个路径下

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin

示意图如下:

问题解决:

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。