building wheel for dlib (setup.py) loop

∥☆過路亽.° 提交于 2020-12-31 04:32:15

问题


trying to install dlib and face_recognition from Ubuntu taking reference from https://www.learnopencv.com/install-dlib-on-ubuntu/ but after following commands: i am stuck at:

Building wheels for dlib, face-recognition-models
    Building wheel for dlib (setup.py) ... /(looping stick)

回答1:


To complement mshahiddev answer I added -vvv and it showed that it was working.

Just took a really long time to complete. I just had to wait.

pip install dlib -vvv



回答2:


This was posted by another user on my question for the same thing.

"Are you sure you posted the complete error log? If yes, can you run pip install face_recognition -vvv and add the output to the question?" – hoefling May 9 at 7:37

It worked! Please thank him or her.




回答3:


First of all, you should install cmake

You can use the following command:

pip install cmake

After if everything will work!




回答4:


First you need Visual Studio. So download Visual Studio on your Computer. Then install Cmake. Whether you download it from website or use pip:

pip install cmake

Now install dlib:

pip install dlib

It may take a while to build wheel for dlib, after a while, it will be successfully installed.



来源:https://stackoverflow.com/questions/54714603/building-wheel-for-dlib-setup-py-loop

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!