Pycharm install dlib

Table of contents

1. Download dilb

 2. Use pip to install the dlib library (valid for personal testing)

3. Install using Pycharm (not used)


1. Download dilb

Official website: Delib Pippi (pypi.org)

 2. Use pip to install the dlib library (valid for personal testing)

Place the downloaded whl file into the project file

Next, use the pip that comes with Python to install it.

  • 1.win+R
  • 2. Enter cmd and press Enter
  • 3. Change the directory to the directory where the whl file is located
  • 4. Execute the command: pip install dlib-19.6.1-cp36-cp36m-win_amd64.whl
  • 5. Go to this directory to view the library you just installed.


3. Install using Pycharm (not used)

  • 1.Open pycharm
  • 2.File—>settings—>Project Interpreter
  • Select the python3.6.1 version you installed as the interpreter
  • 3. Click the + sign on the right, enter dlib in the search box, and then check the box in front of Specify version in the lower right corner. After checking, select version 19.6.1 (the same as the version just installed)
  • 4. Click Install Package in the lower left corner to install it. If it doesn’t work once, install it several times.

 

The successful installation is as follows: 

 

 

Guess you like

Origin blog.csdn.net/weixin_64443786/article/details/131816825#comments_28647779