ModuleNotFoundError: No module named ‘dlib’(已解決)
在window下安裝dlib
先安裝cmake、boost 再安裝dlib
- pip install cmake
- pip install boost
- pip install dlib
如果你嫌下載慢,可以更改下載源,
比如,利用豆瓣的下載源
- pip install cmake -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
- pip install boost -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
- pip install dlib -i http://pypi.douban.com/simple --trusted-host pypi.douban.com