Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Could not find a version that satisfies the requirement opencv-python"

Tags:

pip

opencv

I am struggling with Jetson TX2 board (aarch64).

I need to install python wrapper for OpenCV.

I can do:

$ sudo apt-get install python-opencv 

But I cannot do:

$ sudo pip install opencv-python 

Is this because there is no proper wheel file in http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv?

Is there a way to install opencv-python through pip?

like image 547
ghchoi Avatar asked Jul 25 '17 04:07

ghchoi


People also ask

Does python 3.10 support OpenCV?

Looks like there is no opencv-python for Python 3.10...

Which python version is best for OpenCV?

what is the best python version for opencv-python version 4.4.

How do I find my OpenCV version?

Use __version__ on cv2 to get its version.


1 Answers

We were getting the same error.For us, it solved by upgrading pip version (also discussed in FAQ of OpenCV GitHub). Earlier we had pip-7.1.0, post upgrading it to "pip-9.0.2", it successfully installed.

pip install --upgrade pip pip install opencv-python 
like image 54
Neo Avatar answered Oct 05 '22 07:10

Neo