对于pip,可以将默认源设置为国内镜像,推荐使用清华大学、阿里云、腾讯云等提供的镜像:清华大学镜像:pip config set global.index-url pypi.tuna.tsinghua.edu.cn...阿里云镜像:pip config set global.index-url mirrors.aliyun.com/pypi...腾讯云镜像:pip config set global.index-url mirrors.cloud...