normyx / MMM-Facial-Recognition-OCV3

MIT License
51 stars 18 forks source link

No module named cv2 #8

Open Daseca opened 6 years ago

Daseca commented 6 years ago

Hello,

i have a problem with this module. All went well till i came to the point where i have to run the

python tools.capture.py

I always run into the error

pi@raspberrypi:~/MagicMirror/modules/MMM-Facial-Recognition-OCV3 $ python tools.capture.py Traceback (most recent call last): File "tools.capture.py", line 9, in <module> from lib.tools.capture import ToolsCapture File "/home/pi/MagicMirror/modules/MMM-Facial-Recognition-OCV3/lib/tools/capture.py", line 16, in <module> import cv2 ImportError: No module named cv2

Do you have any clues to fix this? Thanks!

Jacob12138xieyuan commented 6 years ago

same issue

MuhammadJamee commented 6 years ago

your OPENCV is not properly installed. Try start terminal - Python > import cv2 (see if there is an error or not)

nischi commented 5 years ago

have the same issue and i get an error "ModuleNotFoundError: No module named 'cv2'" if i try import cv2