无法安装paddleVideo,opencv-python==4.2.0.32这个版本已经没有源了
咱们得requirement里面依然是 opencv-python==4.2.0.32 的版本,但是这个版本已经没有源可以安装了,现在按照教程安装到这一步就会卡住。怎么办呢?
C:\Users\Will-CC>python -m pip install opencv-python==4.2.0.32 -i https://pypi.doubanio.com/simple Looking in indexes: https://pypi.doubanio.com/simple ERROR: Could not find a version that satisfies the requirement opencv-python==4.2.0.32 (from versions: 3.4.0.14, 3.4.10.37, 3.4.11.39, 3.4.11.41, 3.4.11.43, 3.4.11.45, 3.4.13.47, 3.4.14.51, 3.4.14.53, 3.4.15.55, 3.4.16.57, 3.4.16.59, 3.4.17.61, 3.4.17.63, 3.4.18.65, 4.3.0.38, 4.4.0.40, 4.4.0.42, 4.4.0.44, 4.4.0.46, 4.5.1.48, 4.5.2.52, 4.5.2.54, 4.5.3.56, 4.5.4.58, 4.5.4.60, 4.5.5.62, 4.5.5.64, 4.6.0.66, 4.7.0.68, 4.7.0.72) ERROR: No matching distribution found for opencv-python==4.2.0.32
试试-i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
试试-i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
但是装好后会报另一个错:
ERROR: Ignored the following versions that require a different python version: 1.4.0 Requires-Python >=3.8; 1.4.0rc0 Requires-Python >=3.8; 1.4.1 Requires-Python >=3.8; 1.4.2 Requires-Python >=3.8; 1.4.3 Requires-Python >=3.8; 1.4.4 Requires-Python >=3.8; 1.5.0 Requires-Python >=3.8; 1.5.0rc0 Requires-Python >=3.8; 1.5.1 Requires-Python >=3.8; 1.5.2 Requires-Python >=3.8; 1.5.3 Requires-Python >=3.8; 2.0.0 Requires-Python >=3.8; 2.0.0rc0 Requires-Python >=3.8; 2.0.0rc1 Requires-Python >=3.8; 2.0.1 Requires-Python >=3.8; 2.0.2 Requires-Python >=3.8; 2.0.3 Requires-Python >=3.8; 2.1.0 Requires-Python >=3.9; 2.1.0rc0 Requires-Python >=3.9 ERROR: Could not find a version that satisfies the requirement decord==0.4.2 (from ppvideo) (from versions: 0.0.1, 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.7, 0.3.8, 0.3.9, 0.4.0, 0.5.0, 0.5.1, 0.5.2, 0.6.0) ERROR: No matching distribution found for decord==0.4.2
可以尝试下载源码,先将requirement.txt 中的opencv-python后面的版本移除掉。再本地pip install .安装
python版本,要python3.8或者以下
咱们得requirement里面依然是 opencv-python==4.2.0.32 的版本,但是这个版本已经没有源可以安装了,现在按照教程安装到这一步就会卡住。怎么办呢?
C:\Users\Will-CC>python -m pip install opencv-python==4.2.0.32 -i https://pypi.doubanio.com/simple Looking in indexes: https://pypi.doubanio.com/simple ERROR: Could not find a version that satisfies the requirement opencv-python==4.2.0.32 (from versions: 3.4.0.14, 3.4.10.37, 3.4.11.39, 3.4.11.41, 3.4.11.43, 3.4.11.45, 3.4.13.47, 3.4.14.51, 3.4.14.53, 3.4.15.55, 3.4.16.57, 3.4.16.59, 3.4.17.61, 3.4.17.63, 3.4.18.65, 4.3.0.38, 4.4.0.40, 4.4.0.42, 4.4.0.44, 4.4.0.46, 4.5.1.48, 4.5.2.52, 4.5.2.54, 4.5.3.56, 4.5.4.58, 4.5.4.60, 4.5.5.62, 4.5.5.64, 4.6.0.66, 4.7.0.68, 4.7.0.72) ERROR: No matching distribution found for opencv-python==4.2.0.32
亲测,python3.8 到 https://pypi.org/project/opencv-python/4.2.0.32/#files 根据自己的系统下载cp38的安装包