pip无法从清华源下载
我的错误是无法从清华源下载opencv包。错误如下:
ERROR: HTTP error 403 while getting https://pypi.tuna.tsinghua.edu.cn/packages/c7/ec/9dabb6a9abfdebb3c45b0cc52dec901caafef2b2c7e7d6a839ed86d81e91/opencv_python-4.9.0.80-cp37-abi3-win_amd64.whl#sha256=3f16f08e02b2a2da44259c7cc712e779eff1dd8b55fdb0323e8cab09548086c0 (from https://pypi.tuna.tsinghua.edu.cn/simple/opencv-python/) (requires-python:>=3.6)
解决方法
更换pip默认源为阿里源
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
查看默认源
pip config list
如果有用,请点个三连呗 点赞、关注、收藏
。
你的鼓励是我最大的动力