最近在玩国内的服务器,需要使用 python pip 时,却发现这个强大的工具因为“网络问题”导致无法直接下载插件了。真是坑啊。所以只能找一些镜像来下载,
例如清华大学的镜像:
https://wiki.tuna.tsinghua.edu.cn/MirrorUsage/pypi
使用方法:
- pip install -i https://pypi.tuna.tsinghua.edu.cn/simple 包名
例如:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple MySQL-python
最新评论
5.0版本发布了,请更新一下
还能补链接吗
https://www.123pan.com/s/umWuVv-quO3A 绿色守护5.0,期待更新捐赠版