python安装opencv出现错误_通过pip安装opencv时出错

1586010002-jmsa.png

python version = Python 3.8.0

pip version = 19.3.1

C:\Users\Sami Ullah Ch>pip3 install opencv-python

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

解决方案

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

你可能感兴趣的:(python安装opencv出现错误_通过pip安装opencv时出错)