Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'cv2' #3

Open
SzoDavid opened this issue Jan 22, 2020 · 1 comment
Open

ModuleNotFoundError: No module named 'cv2' #3

SzoDavid opened this issue Jan 22, 2020 · 1 comment

Comments

@SzoDavid
Copy link

I tried to run main.py but I got this error message:
F:\Tello-Face-Recognition-master\face_recognition\main.py:20: SyntaxWarning: "is not" with a literal. Did you mean "!="? if not -90 <= offset_x <= 90 and offset_x is not 0: F:\Tello-Face-Recognition-master\face_recognition\main.py:26: SyntaxWarning: "is not" with a literal. Did you mean "!="? if not -70 <= offset_y <= 70 and offset_y is not -30: F:\Tello-Face-Recognition-master\face_recognition\main.py:32: SyntaxWarning: "is not" with a literal. Did you mean "!="? if not 15000 <= offset_z <= 30000 and offset_z is not 0: Traceback (most recent call last): File "F:\Tello-Face-Recognition-master\face_recognition\main.py", line 2, in <module> import cv2 as cv ModuleNotFoundError: No module named 'cv2'

@FranciumUser
Copy link

Do you have cv2 install? If not try in your terminal
pip3 install opencv-python
or
sudo pip3 install opencv-python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants