Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

python version = Python 3.8.0

pip version = 19.3.1

C:UsersSami Ullah Ch>pip3 install opencv-python

ERROR: Could not find a version that satisfies the requirement opencv-python (from versions: none)

enter image description here

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
186 views
Welcome To Ask or Share your Answers For Others

1 Answer

Install OpenCV

Refresh the packages index and install the OpenCV package by typing:

sudo apt update
sudo apt install python3-opencv

The command above will install all packages necessary to run OpenCV.

Verify the OpenCV installation

To verify the installation we will import the cv2 module and print the OpenCV version:

>>> import cv2
>>> cv2.__version__

Output

3.2.0


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...