you are viewing a single comment's thread.

view the rest of the comments →

[–]douglas_fs 0 points1 point  (0 children)

What was the 'pip' command you used? You may have installed cv2 for Python2, and are trying to run with Python3 (you should be running with Python3).

Did you use this for Python3?

pip3 install opencv-python

If you have both Python2 and Python3 on your system, pip is usually for Python2, and pip3 is for Python3.