简体   繁体   中英

No module named 'face_recognition'

I installed cmake, dlib and face_recognition but when I run my project I get this error

Code:

import face_recognition
import cv2

Error:

Traceback (most recent call last):
  File "...\face recognition\main.py", line 1, in <module>
    import face_recognition
ModuleNotFoundError: No module named 'face_recognition'

Check if you've istalled dlif and etc under some virtual enviromant but trying to run your code under general one (or vise versa)

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