Install dlib and face_recognition under win10+anconda2+python2, python3 Notes

Download the .whl files of dlib and face_recognition directly on the official website:

1. If it is installed under python3 under win10:

dlib download: https://pypi.org/project/dlib/19.8.1/#files

face_recognition download: https://pypi.org/project/face_recognition/1.2.2/#files

You can directly:

pip3 install dlib-19.8.1-cp36-cp36m-win_amd64.whl

2. Install dlib in anconda2 environment under win10:

conda install -c menpo dlib

3. Install dlib in anconda3 environment under win10:

In python36 in anconda3 environment, switch to python36 environment directly when installing dlib library, then pip will do

Code that may be used:

activate python36
pip install dlib

ps: 

       When installing various libraries under linux and windows versions, there are different versions, just python3.6 is easy to use, many libraries are just fine directly pip, and many others are not compatible. Wrong, a lot of time was wasted. . . . So here to remind everyone, when your python version is really not good, just install it in python3.6

 

 

Guess you like

Origin blog.csdn.net/weixin_39121325/article/details/85247546