Skip to content Skip to sidebar Skip to footer

Vscode V1.35 - Runtimeerror: Cmake Must Be Installed To Build The Following Extensions: Dlib

I have already installed CMake by pip install cmake in my VS Code 1.35 and trying to install face_recognition but it still give me a RuntimeError. I'm using 'Python 3.7.3, x32' I a

Solution 1:

Download and install dlib wheel from here

Then pip install face_recognition


  • pip install cmake
  • In visual studio, Individual Components tab,Visual C++ tools for Cmake checkbox under Compilers,build tools and runtimes Section
  • On Visual Studio Command prompt run, pip install face_recognition

Source

Solution 2:

What works for is ... After getting lots of Red Errors, I run following

  1. conda install -c conda-forge dlib
  2. pip install cmake
  3. pip install face_recognition

Even the error says me to reinstall VS Code for c++. but above sequential installation works.

Python version was 3.8

Solution 3:

Try install dlib using conda conda install -c conda-forge dlib

Post a Comment for "Vscode V1.35 - Runtimeerror: Cmake Must Be Installed To Build The Following Extensions: Dlib"