当前位置:网站首页>Face recognition PIP failed to install Dlib Library

Face recognition PIP failed to install Dlib Library

2022-06-12 11:30:00 A night of hoary hair makes people cry

1. First, set the domestic image :

douban :

pip install pip -U
pip config set global.index-url https://pypi.douban.com/simple/

tsinghua

pip install pip -U
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

First install the following Libraries , Re execution pip install dlib

pip install boost
pip install cmake
pip install dlib

Installation successful !!!

Note appended : You can also go to the official website to download whl file , then pip install install

dlib · PyPI

If you need to ubutun Installation on system , You need to add one more :

sudo apt install build-essential

Installation successful

 

原网站

版权声明
本文为[A night of hoary hair makes people cry]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/163/202206121025377655.html