Reputation: 13
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'
Upvotes: 0
Views: 514
Reputation: 33
For python3 don't use pip alone, use pip3 to install future python3 modules:
pip3 install face_recognition
Upvotes: 0
Reputation: 965
Check if you've istalled dlif and etc under some virtual enviromant but trying to run your code under general one (or vise versa)
Upvotes: 0