How to install the dlib library in Python3.8 (pro-test is effective, with attached files)

Today githubI downloaded a warehouse to study on the Internet, but I need dlibthe library. I have used many methods and failed to install it. The reason is that the environment and tool chain requireddlib for the installation. Many blogs write that I want to download VS2019, but that is really troublesome. It is better to download the environment directly. c++and whl file, then pipdownload with .

Next is the specific process:

  • First install cmakethe toolkit:
pip install cmake
  • Then install boost:
pip install boost
  • Run the command pip listto see if the installation is complete
    insert image description here

  • Installdlib

pip install C:\Users\HP\Downloads\dlib-19.19.0-cp38-cp38-win_amd64.whl

Then the installation is complete, test it:
insert image description here
dlib-19.19.0-cp38-cp38-win_amd64.whlfile download address:

https://download.csdn.net/download/BWQ2019/16218634?spm=1001.2014.3001.5501

Guess you like

Origin blog.csdn.net/BWQ2019/article/details/115314685