http://www.pyimagesearch.com/2017/03/27/how-to-install-dlib/
- Installing CMake,Boost,Boost.Python,and X11 can be accomplished easily with apt-get :
$ sudo apt-get install build-essential cmake
$ sudo apt-get install libgtk-3-dev
$ sudo apt-get install libboost-all-dev
- 创建venv环境,进入venv,并用pip安装face_recognition
pip3 install face_recognition
- 测试安装是否成功
import dlib
import face_recognition