栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Python

pycharm conmunity 2022.1没有mange repositories,只能使用命令方式修改镜像源(长期可信)

Python 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

pycharm conmunity 2022.1没有mange repositories,只能使用命令方式修改镜像源(长期可信)

修改为清华大学的镜像源,并置为可信(阿里云的好像有点问题但不知到出在哪里)
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple  --trusted-host pypi.tuna.tsinghua.edu.cn
PS D:Python_projectCycle-Gan> pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple  --trusted-host pypi.tuna.tsinghua.edu.cn 
Writing to C:Userslove_meAppDataRoamingpippip.ini

#下面这行代码是查看镜像源修了没
PS D:Python_projectCycle-Gan> pip -v config list

For variant 'global', will try loading 'C:ProgramDatapippip.ini'
For variant 'user', will try loading 'C:Userslove_mepippip.ini'
For variant 'user', will try loading 'C:Userslove_meAppDataRoamingpippip.ini'
For variant 'site', will try loading 'D:environmentspython310pip.ini'
global.index-url='https://pypi.tuna.tsinghua.edu.cn/simple'

PS D:Python_projectCycle-Gan>


求求路过的老爷给个免费的赞,如果有帮助的话
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/869245.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号