一、Python软件下载地址
1. 官网下载
https://www.python.org/downloads/
2. 国内第三方镜像
https://mirrors.huaweicloud.com/python/
https://registry.npmmirror.com/binary.html?path=python/
从以上国内镜像即可下载安装程序,Windows平台,不论是Intel还是AMD处理器,都下载amd64.exe版本的安装包;
macOS平台,不论是Intel还是M系列处理器,都下载.pkg版本的安装包。
二、Pip库的国内镜像
1. 国内镜像
(1)清华 https://pypi.tuna.tsinghua.edu.cn/simple/
(2)中科大 https://pypi.mirrors.ustc.edu.cn/simple/
(3)豆瓣 http://pypi.doubanio.com/simple/
(4)阿里云 http://mirrors.aliyun.com/pypi/simple/
2. 查看/修改pip默认源
(1)查看当前pip源(注意Mac系统需把pip换成pip3)
pip config list
(2)永久修改pip源
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple