0

I'm using a Raspberry Pi 3 B+ with Raspbian installed.

When I run pip install opencv-python I get the following message:

Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting opencv-python
ERROR: Could not find a version that satisfies the requirement opencv-python (from version: none)
ERROR: No matching distribution found for opencv-python

I've tried pip install opencv-contrib-python, python3 -m pip install opencv-python and that gives me the same error.

And pip install --upgrade pip before trying to install opencv, but it says I already have the latest version.

What I have:

 $ python --version
Python 2.7.13

 $ python3 --version
Python 3.6.3

 $ pip --version
pip 19.1 from /usr/local/lib/python3.6/site-packages/pip (python 3.6)
  • There are no prebuilt wheels of opencv-python for Python 3.6 on ARM platforms yet and it looks like Python 3.6 will be skipped completely as Raspbian Buster will be shipped with Python 3.7. Downgrade python3 to Python 3.5. – hoefling Apr 27 at 9:46
0

Solved it using sudo apt-get install python-opencv

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.