win10 安装scrapy 出现LINK : fatal error LNK1158: cannot run 'rc.exe' 错误的解决办法
win10 安装scrapy 出现LINK : fatal error LNK1158: cannot run ‘rc.exe’ 错误的解决办法
出现的场景
为了生成pycocotools
,需要在本地编译pythonapi
。
遇到的问题
解决方案
从此路径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
示意图如下:
灵感追寻
【借鉴】https://blog.****.net/zaishijizhidian/article/details/88694373