【发布时间】:2019-09-05 09:54:51
【问题描述】:
我正在尝试使用以下命令 sudo pip3 install opencv-python 安装 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
我尝试使用命令 pip install --upgrade pip 升级 pip,然后再次尝试安装 opencv-python,但我仍然遇到同样的错误。
【问题讨论】:
-
sudo apt-get install python3-opencv? -
Err:1 http://raspbian.raspberrypi.org/raspbian buster/main armhf libpq5 armhf 11.3-1 404 Not Found E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/postgresql-11/libpq5_11.3-1_armhf.deb 404 Not Found E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? -
也许像错误消息中所说的那样运行
sudo apt-get update? -
Hit:1 http://archive.raspberrypi.org/debian buster InRelease Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Reading package lists... Done E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'testing' to 'stable' N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details. -
你试过
sudo apt update,正如here所建议的那样吗?
标签: python opencv pip raspberry-pi raspbian