python配置国内pypi镜像源操作步骤
使用pip config命令设置默认镜像源,使用国内的源,提高安装速度
操作步骤
临时方式
pip install xxx -i https://pypi.tuna.tsinghua.edu.cn/simple
永久方式
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
国内镜像源
清华大学开源软件镜像站(https://mirrors.tuna.tsinghua.edu.cn/)
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple/
中国科学技术大学开源软件镜像站(https://mirrors.ustc.edu.cn/)
pip config set global.index-url http://pypi.mirrors.ustc.edu.cn/simple/
上海交通大学软件源镜像服务站(https://mirror.sjtu.edu.cn/)
pip config set global.index-url https://mirror.sjtu.edu.cn/pypi/web/simple
豆瓣python-pip镜像
pip config set global.index-url http://pypi.douban.com/simple/
阿里巴巴开源镜像站(https://opsx.alibaba.com/mirror/)
pip config set global.index-url http://mirrors.aliyun.com/pypi/simple/
华为开源镜像站(https://mirrors.huaweicloud.com/)
pip config set global.index-url https://repo.huaweicloud.com/repository/pypi/simple
网易开源镜像站(http://mirrors.163.com/)
pip config set global.index-url https://mirrors.163.com/pypi/simple/
腾讯软件源(https://mirrors.cloud.tencent.com/)
pip config set global.index-url https://mirrors.cloud.tencent.com/pypi/simple
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本