python镜像源

国内常见的镜像源

清华:https://pypi.tuna.tsinghua.edu.cn/simple

中科大: https://pypi.mirrors.ustc.edu.cn/simple/

阿里云:https://mirrors.aliyun.com/pypi/simple/

豆瓣:https://pypi.douban.com/simple/

设置默认源

pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

安装指定镜像源、包、指定版本

pip3 install -i https://mirrors.aliyun.com/pypi/simple/  tensorflow==2.15.0

你可能感兴趣的:(python,开发语言)