Reputation: 3894
I have python 2.7 and when I try to install opencv I get error
pip install opencv-python
Looking in indexes: http://pypi.dd.dynamore/simple, https://pypi.python.org/simple/
Collecting opencv-python
ERROR: Could not find a version that satisfies the requirement opencv-python (from versions: none)
ERROR: No matching distribution found for opencv-python
I have the latest pip version (19.2.3). And I have also installed this
sudo apt-get install python-opencv
Upvotes: 2
Views: 26102
Reputation: 101
The following command worked for me:
python3.8 -m pip install opencv-contrib-python
Upvotes: 0
Reputation: 1
Try using python.exe -m pip install opencv-contrib-python
. It worked for me.
Upvotes: 0
Reputation: 11
This error was also occurred in my case. So try using:
pip install opencv-python
Upvotes: 1
Reputation: 45
I run into the same problem when trying to install this library for learning ML. After a little online research that points me to the documentation, I believe this error is caused by a compatibility issue between python2 and this module.
Try using python3 and install this package again with pip3 install opencv-python
Hope this helps!
Upvotes: 4