错误信息: pip._ vendor.urllib3. exceptions.readtimeouterror 3360
ttpsconnectionpool (host=‘pypi.tuna.Tsinghua.edu.cn’,port=443 ) : Read timed out。
直接在控制台中输入pip安装opencv-python错误的图示:
可能是因为我不小心取消了安装,所以后面怎么也安装不了
之后直接下载到清华源切换到路径直接安装就成功了
清华来源: https://pypi.tuna.Tsinghua.edu.cn/simple/opencv-python /
坑(磁盘切换命令是)‘e :’,而不是光盘剪切
参考: https://blog.csdn.net/QQ _ 43766304/article/details/104862174