python安装包下载地址
华为:
淘宝:
pip国内常用源
- 清华源
https://pypi.tuna.tsinghua.edu.cn/simple/
-
中科大
https://pypi.mirrors.ustc.edu.cn/simple/
- 豆瓣
http://pypi.doubanio.com/simple/
- 阿里云
http://mirrors.aliyun.com/pypi/simple/
- 华中科技
https://mirrors.hust.edu.cn/pypi/web/simple
参考文档Python 软件包索引仓库使用帮助 | 华中科技大学开源镜像站 | HUST Mirror
临时使用:
pip install -i https://mirrors.hust.edu.cn/pypi/web/simple <some-package>
设置为默认
pip config set global.index-url https://mirrors.hust.edu.cn/pypi/web/simple
设置PDM加速
pdm config pypi.url https://mirrors.hust.edu.cn/pypi/web/simple