简体   繁体   中英

ModuleNotFoundError: No module named 'dlib' on windows 10 using Anaconda

I want to build dlib on windows 10 by the following step:

pip install dlib

But I am getting an error

import dlib Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'dlib'

I want to work with dlib for Eye tracking and recognition process.

How to fix this problem?

If you are using Anaconda try this:

conda install -c menpo dlib

Using pip can break your conda environment so try and avoid that in Anaconda.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM