Python, installing clarifai --> VS14.0 link.exe failed with exit status 1158

前端 未结 3 1695
眼角桃花
眼角桃花 2020-11-28 08:48

I\'ve got a fresh installation of Python 3.6 + Selenium and now want to install Clarifai 2.0.21.

The following command is failing:

python -m pip inst         


        
3条回答
  •  盖世英雄少女心
    2020-11-28 09:25

    In case this helps someone. The original problem didn't occur for me with a baseline VS2015. I now see the same problem with the LNK1158 error. I surmise because I'm now using VS2015 Update 2, which uses rc.exe from "C:\Program Files (x86)\Windows Kits\10\bin\10.0.16299.0\x64". The solution is similar to another answer. It is to either copy or take a symlink of rc.exe and rcdll.dll from:

        C:\Program Files (x86)\Windows Kits\10\bin\10.0.16299.0\x64
    

    to

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

提交回复
热议问题