Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (47.6k points)

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?

1 Answer

0 votes
by (106k points)

You can use the below-mentioned command to import cv2 in Python3:-

pip install opencv-python

Related questions

0 votes
1 answer
0 votes
2 answers
0 votes
1 answer
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...