Mahdy Luqman
Mahdy Luqman

Reputation: 41

ERROR: Could not find a version that satisfies the requirement cv2 (from versions: none) ERROR: No matching distribution found for cv2

When I try cv2 using

pip install cv2

it shows the error written in the title.

My code is a python code using opencv.

Upvotes: 3

Views: 13683

Answers (2)

RashidLadj_Winux
RashidLadj_Winux

Reputation: 911

You need to install opencv, not cv2.

For python2:

pip install opencv-python

For python3

pip3 install opencv-python

Upvotes: 6

For Python 3:

pip install opencv-contrib-python

Upvotes: 1

Related Questions