python pip安装库—下载源更换(清华源、阿里源、中科大源、豆瓣源)
创始人
2025-01-09 05:03:43
0

使用全局配置,建议使用豆瓣

如阿里

pip config set global.index-url https://mirrors.aliyun.com/pypi/simple pip config set install.trusted-host mirrors.aliyun.com 

如豆瓣

pip config set global.index-url http://pypi.douban.com/simple/ pip config set install.trusted-host pypi.douban.com 

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

pip install xxx -i https://pypi.tuna.tsinghua.edu.cn/simple/ 

二、阿里源 https://mirrors.aliyun.com/pypi/simple

pip install xxx -i https://mirrors.aliyun.com/pypi/simple 

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

pip install xxx -i https://pypi.mirrors.ustc.edu.cn/simple/ 

四、豆瓣源 http://pypi.douban.com/simple/

pip install xxx -i http://pypi.douban.com/simple/ 

前提条件

你的pip需要设置为环境变量里

如,按下 win+r,出入cmd,继续输入pip,能够正常弹出如下图

在这里插入图片描述

在这里插入图片描述

相关内容

热门资讯

透视辅助!wejoker辅助器... 透视辅助!wejoker辅助器怎么卖,佛手在线大菠萝辅助,关于开挂辅助工具(透视竟然有挂) >>您好...
热点推荐“xpoker怎么辅助... 开挂教程视频分享装挂详细步骤在当今的网络游戏中,作为一种经典的娱乐方式,吸引了无数玩家的参与。尤其是...
透视辅助!wepoker透视脚... 透视辅助!wepoker透视脚本是什么,aapoker插件,科技开挂辅助工具(透视有挂解密)【无需打...
推荐一款“hhpkoer辅助挂... 您好:这款游戏可以开挂的,确实是有挂的,很多玩家在这款游戏中打牌都会发现很多用户的牌特别好,总是好牌...
透视辅助!hh poker辅助... hh poker辅助器先试用是一款专注玩家量身打造的游戏记牌类型软件,在hh poker辅助器先试用...
我来向大家传授“wepoker... 我来向大家传授“wepoker永久免费脚本”开挂(透视)辅助平台(科技教程有挂技术)您好:这款游戏可...
透视辅助!wepoker怎么设... 透视辅助!wepoker怎么设置盖牌,拱趴大菠萝十三水辅助,分享开挂辅助平台(透视有挂教程);无需打...
重磅来袭“wepoker可以免... 重磅来袭“wepoker可以免费玩吗”开挂(透视)辅助安装(新2026教程有挂猫腻)1、下载安装好,...
透视辅助!aa poker透视... 透视辅助!aa poker透视软件,wepoker插件功能辅助器,教会开挂辅助神器(透视有挂总结);...
实测教程“wepoker免费脚... 实测教程“wepoker免费脚本”开挂(透视)辅助安装(切实教程有挂秘笈) 【无需打开直接搜索加薇1...