赞
踩
参考:https://blog.csdn.net/wmm131333/article/details/103359370/
- pip install opencv-python==3.4.2.16 -i "https://pypi.doubanio.com/simple/" --trusted-host pypi.douban.com
-
-
- pip install opencv-contrib-python==3.4.2.16 -i "https://pypi.doubanio.com/simple/"
效果分别如下:
- (opencv) C:\Users\51328>pip install opencv-python==3.4.2.16 -i "https://pypi.doubanio.com/simple/" --trusted-host pypi.douban.com
- Looking in indexes: https://pypi.doubanio.com/simple/
- Collecting opencv-python==3.4.2.16
- Downloading https://mirrors.cloud.tencent.com/pypi/packages/bd/c9/364f02bb1d2186405995dbb2b579f3c55b68134a9513a7068e0cdbaeb928/opencv_python-3.4.2.16-cp37-cp37m-win_amd64.whl (33.8 MB)
- ---------------------------------------- 33.8/33.8 MB 5.5 MB/s eta 0:00:00
- Requirement already satisfied: numpy>=1.14.5 in c:\users\51328\anaconda3\envs\opencv\lib\site-packages (from opencv-python==3.4.2.16) (1.21.5)
- WARNING: The candidate selected for download or install is a yanked version: 'opencv-python' candidate (version 3.4.2.16 at https://mirrors.cloud.tencent.com/pypi/packages/bd/c9/364f02bb1d2186405995dbb2b579f3c55b68134a9513a7068e0cdbaeb928/opencv_python-3.4.2.16-cp37-cp37m-win_amd64.whl#sha256=b0f8c8a17514960318881c539d462eac3c2a8c307e7cf71454bd407ba408f496 (from https://mirrors.cloud.tencent.com/pypi/simple/opencv-python/))
- Reason for being yanked: Release deprecated
- Installing collected packages: opencv-python
- Successfully installed opencv-python-3.4.2.16
-
- (opencv) C:\Users\51328>conda list opencv
- # packages in environment at C:\Users\51328\anaconda3\envs\opencv:
- #
- # Name Version Build Channel
- opencv-python 3.4.2.16 pypi_0 pypi
- (opencv) C:\Users\51328>pip install opencv-contrib-python==3.4.2.16 -i "https://pypi.doubanio.com/simple/"
- Looking in indexes: https://pypi.doubanio.com/simple/
- Collecting opencv-contrib-python==3.4.2.16
- Downloading https://mirrors.cloud.tencent.com/pypi/packages/a2/1c/778cb8a5f4026d49e299d34a98791599f7485553c29889385c43158b6f43/opencv_contrib_python-3.4.2.16-cp37-cp37m-win_amd64.whl (39.6 MB)
- ---------------------------------------- 39.6/39.6 MB 973.8 kB/s eta 0:00:00
- Requirement already satisfied: numpy>=1.14.5 in c:\users\51328\anaconda3\envs\opencv\lib\site-packages (from opencv-contrib-python==3.4.2.16) (1.21.5)
- WARNING: The candidate selected for download or install is a yanked version: 'opencv-contrib-python' candidate (version 3.4.2.16 at https://mirrors.cloud.tencent.com/pypi/packages/a2/1c/778cb8a5f4026d49e299d34a98791599f7485553c29889385c43158b6f43/opencv_contrib_python-3.4.2.16-cp37-cp37m-win_amd64.whl#sha256=bb3dd2dc52727e4f70524ac7a3604e746ae98e5e92f19f237dde1327dd4ae380 (from https://mirrors.cloud.tencent.com/pypi/simple/opencv-contrib-python/))
- Reason for being yanked: Release deprecated
- Installing collected packages: opencv-contrib-python
- Successfully installed opencv-contrib-python-3.4.2.16
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。