IMPORT ERROR - No module named dlib

Asked

Viewed 58 times

1

I installed dlib, opencv and Pillow through Anaconda, creating a enviroment, but when I will import dlib the following error happens: No module named dlib. I’ve already deleted the interpreters and the enviroment and remake everything again but keeps giving the same mistake.

Follow the error screenshot: inserir a descrição da imagem aqui

I have no idea how to solve this, I’ve tried it in many ways and I can’t, nor have the materials I find on the Internet solved it. This is the interpreter:

inserir a descrição da imagem aqui

As you can see, all the libraries said above have been installed.

1 answer

0

In Pycharm just go to the project root folder and right-click > Mark Directory as > Sources Root. this will solve.

inserir a descrição da imagem aqui

Problem solved in: Import modules into Pycharm

Browser other questions tagged

You are not signed in. Login or sign up in order to post.