How to solve issue related to installation of dlib on Windows 10?

后端 未结 2 1565
小鲜肉
小鲜肉 2020-12-22 01:55

I am trying to install dlib for face-recognition for python 3.7 on windows 10, I explored few ways but I am getting errors.I tried below steps-

  1. Installed cmake
2条回答
  •  粉色の甜心
    2020-12-22 02:40

    In my system i'd done using Anaconda. The Dlib library supports python 3.6 to 3.7.0 in conda environments.

    follow the instruction to install face recognition model,

    1. install Anaconda from https://www.anaconda.com/distribution/#download-section

    2. in conda prompt, create an environment using this command

      conda create --name env_name python=3.7.0

    3. then activate the env

      conda activate env_name

    4. install dlib

    conda install -c conda-forge dlib=19.17

    1. now install face_recogintion models using pip

    pip install face_recogntion

提交回复
热议问题