Solved Error CMAKE must be installed to build dlib when installing face_recognition python for macOS

preview_player
Показать описание
I was recently trying to install the python face_recognition library but kept getting an error "CMAKE must be installed to build dlib" and wasn't able to install dlib library either because of the same error. However, CMAKE was already successfully installed on my machine.

Seems like CMAKE installation path was misconfigured. After a few hours of trial and error I was able to find the solution by downloading dlib manually.

Hope this helps. Cheers!
Рекомендации по теме
Комментарии
Автор

OMFG THANK YOU SM I HAVE BEEN TRYING TO DOWNLOAD THIS FOR WEEKS NOW YOUR TUTORIAL RLY HELPED

jinyounghaaaaaa
Автор

i did the same but getting the error again

abhignajonnalagadda
Автор

You are the king, the first time didnt work, i tried again and it works

chuchosaltillo
Автор

why i am getting this in my windows Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings

sayanchakraborty
Автор

such a great help one thing if anyone walk into error python.h not found sudo apt-get install python-dev-is-python3 for python 3 or sudo apt-get install python-dev this will show all options for pyhton 2 also

AliHassan
Автор

Thanks a lot man! Really appreciate the help!

nickkkkkkkkkkkkkkk
Автор

Thank you a lot, really appreciate for sharing the solution

elenafrolova
Автор

Thank you for recording this video. I was stuck on this error since it kept saying I have both libraries, cmake and lib installed, but it was still giving errors. I even thought something is wrong with the python package and reinstalled it to give it a try.
This video helped me. Thanks again!

omama.k
Автор

I am doing the same but it's generating error of "python not found"
i am doing it on Windows

kashafss
Автор

thank you brother..
this help me ...

RaviRoy-fl