pip install face_recognition giving error

前端 未结 4 1071
不知归路
不知归路 2021-01-29 13:53

RuntimeError:


CMake must be installed to build the following extensions: dlib



Failed building wheel for dlib Running setup.py clean for dlib

4条回答
  •  失恋的感觉
    2021-01-29 14:27

    Updated

    Follow these steps from the start.

    1 - Downgrade to python 3.6.8.

    2 - Install visual studio UPDATE 3

    People usually have visual studio 2015 and the process still doesn't work and the reason is the update. You have to update it to update 3.

    OR

    Install visual studio 2015 Update 3 from here

    Now, some people have already installed VS 2015 so how to update?

    Launch Visual Studio > Tools > Extensions And Updates > New Window Will open, navigate left and click on Updates > Update

    3 - Download and install CMake from here. During installation, Check the Add To Path CheckBox.

    4 - pip install cmake

    5 - pip install face_recognition

提交回复
热议问题