【bug】安装cv2(opencv-python)等待时间过长的问题
参考文献:https://blog.csdn.net/m0_57419301/article/details/142847778
整体上就是先更新pip
但是我更新完了之后还是会卡住
-> Building wheel for opencv-python (pyproject.toml) ...
最后的解决方法:
pip install opencv-python==4.5.1.48 -i https://pypi.mirrors.ustc.edu.cn/simple/
(我的虚拟环境python版本为3.6)
(推测原因可能是镜像源的问题)
更新
opencv版本与python版本的对应关系
https://blog.csdn.net/m0_56312629/article/details/134830925
https://pypi.tuna.tsinghua.edu.cn/simple/opencv-python/

浙公网安备 33010602011771号