python3.7 successfully installed dlib library (Detailed)

1. go to download dlib installation package, URLs in this , and then extract the installation package.


2. Download vs, vs my version vs2017, without first loading the first loaded vs Oh. Then set the environment variable cl.exe (write Path, the environment variables do not know where to go Baidu know). https://blog.csdn.net/zhang475546259/article/details/84104368
 


3.

Use pip install cmake cmake installed plug-ins

     Or directly online https://cmake.org/download/ download cmake-3.13.0-rc3-win64-x64.msi installed directly anyway, these two operations had me by asking, then bin path environment variable to configure cmake

https://blog.csdn.net/zhang475546259/article/details/84104368


4. Download boost, with pip install boost. (Some articles need to configure others do not)


5. After you open the file after dlib decompression, file search in the search bar CMakeCache.txt, should be in the Release folder below to find, find, delete this CMakeCache.txt file (to defeat caching, or otherwise will be linked python2. 7.)
6. dlib with cd into the path, and then enter the python setup.py install. wait installation time almost five minutes, then it.
There Detailed map see https://www.jb51.net/article/183137.htm

Published 100 original articles · won praise 18 · views 30000 +

Guess you like

Origin blog.csdn.net/sereasuesue/article/details/105280833