码迷,mamicode.com
首页 > 系统相关 > 详细

更换Linux系统中的pip源

时间:2020-02-17 20:08:23      阅读:114      评论:0      收藏:0      [点我收藏+]

标签:har   csdn   -o   imp   sha   tle   RoCE   charset   https   

更换Linux系统中的pip源

更换Linux系统中的pip源

命令如下:

mkdir -p ~/.pip/
touch pip.conf
vim pip.conf

pip.conf编辑内容

[global]
index-url=http://mirrors.aliyun.com/pypi/simple/

[install]
trusted-host=mirrors.aliyun.com

 

技术图片

 

更换Linux系统中的pip源

标签:har   csdn   -o   imp   sha   tle   RoCE   charset   https   

原文地址:https://www.cnblogs.com/g15009428458/p/12323137.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!