2021-12-28 14:03:13 索炜达电子 5673
安装face_recognition会报错
CMake must be installed to build the following extensions: _dlib_pybind11
首先
pip install CMake
安装完成后下载dlib的wheel
dlib安装包
在下载目录执行安装命令,注意版本(python3.6为cp36和python3.7为cp37)
dlib-19.6.0-cp36-cp36m-win_amd64.whl
dlib-19.6.0-cp36-cp36m-win_amd64.rar
pip install .\dlib-19.17.99-cp37-cp37m-win_amd64.whl
dlib dlib-19.19.0-cp38-cp38-win_amd64.whl.whl
dlib-19.19.0-cp38-cp38-win_amd64.whl.rar
dlib-19.22.99-cp39-cp39-win_amd64
dlib-19.22.99-cp39-cp39-win_amd64 .rar