Install latest pip3 for python3:
python3 get-pip.py
Open Anaconda prompt in windows, and input follwing commands to install dlib:
pip3 install dlib-19.1.0-cp35-cp35m-win_amd64.whl
To install dlib, we recommand building from source code:
git clone https://github.com/davisking/dlib
python3 setup.py install
To install opencv, install from wheel:
# for python3.5
pip3 install opencv_python-4.1.1.26-cp35-cp35m-manylinux1_x86_64.whl
# for python3.7
pip3 install opencv_python-4.1.1.26-cp37-cp37m-manylinux1_x86_64.whl