无法在Windows 10上为Python 3.6安装烦人的软件包。
这两个命令:
pip install annoy
conda install python-annoy // fails even after adding conda-forge channel
失败。
错误: 致命错误LNK1158:无法运行“ rc.exe”
答案 0 :(得分:0)
通过设置PATH可修复错误
C:\Program Files (x86)\Windows Kits\8.1\bin\x64
并运行
vcvarsall.bat
如帖子中所述:
Visual Studio can't build due to rc.exe