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

I had a similar problem today, and I solved it referring to

Visual Studio can’t build due to rc.exe.

To fix the issue, do next steps:

  1. Add this to your PATH environment variables:

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

  2. Copy these files rc.exe & rcdll.dll from C:\Program Files (x86)\Windows Kits\8.1\bin\x86 to C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin

In newer Windows these files might also be in the highest version: C:\Program Files (x86)\Windows Kits\10\bin\10.0.VERSION\x86

Leave a Comment