发生probrem
我运行了下面的命令来安装一个旧版本的opencv-竞争对手-python (4.0.0.21)。然后发生错误,无法安装此软件包。如何解决此错误?
pip install opencv-contrib-python==4.0.0.21
Collecting opencv-contrib-python==4.0.0.21
ERROR: Could not find a version that satisfies the requirement opencv-contrib-python==4.0.0.21 (from versions: 3.4.8.29, 3.4.9.31, 3.4.9.33, 3.4.10.35, 3.4.10.37, 3.4.11.39, 3.4.11.41, 3.4.11.43, 3.4.11.45, 4.1.2.30, 4.2.0.32, 4.2.0.34, 4.3.0.36, 4.3.0.38, 4.4.0.40, 4.4.0.42, 4.4.0.44, 4.4.0.46)
ERROR: No matching distribution found for opencv-contrib-python==4.0.0.21环境
发布于 2020-11-04 08:38:07
您指定的版本opencv-contrib-python (4.0.0.21)没有相应的python3.8版本。
您需要使用对应于python3.8的opencv,或者降低您的python版本以匹配opencv版本。
https://stackoverflow.com/questions/64676116
复制相似问题