【发布时间】:2020-05-14 03:20:50
【问题描述】:
我正在尝试在https://github.com/feichtenhofer/gpu_flow/ 此处运行此代码,这需要我首先安装 OpenCV 2.4。但是我在尝试这样做时收到以下错误,我读到这意味着该版本不再受支持。那么如何安装 OpenCV 2.4 版呢?
user:~$ pip install opencv-python==2.4
WARNING: Keyring is skipped due to an exception: Failed to unlock the collection!
WARNING: Keyring is skipped due to an exception: Failed to unlock the collection!
ERROR: Could not find a version that satisfies the requirement opencv-python==2.4 (from versions: 3.1.0.4, 3.1.0.5, 3.2.0.6, 3.2.0.7, 3.2.0.8, 3.3.0.9, 3.3.0.10, 3.3.1.11, 3.4.0.12, 3.4.0.14, 3.4.1.15, 3.4.2.16, 3.4.2.17, 3.4.3.18, 3.4.4.19, 3.4.5.20, 3.4.6.27, 3.4.7.28, 3.4.8.29, 3.4.9.31, 3.4.9.33, 4.0.0.21, 4.0.1.23, 4.0.1.24, 4.1.0.25, 4.1.1.26, 4.1.2.30, 4.2.0.32, 4.2.0.34)
ERROR: No matching distribution found for opencv-python==2.4
【问题讨论】: