How to import cv2 in python3?

I’m using Windows, and I’m trying to install package cv2 for python3.

I did a pip3 install opencv-python and it reports successful:

But when I do the import cv2 from python3, it’s not found and I get weird errors:

What am I doing wrong?

Leave a Comment