系统相关
首页 > 系统相关> > Ubuntu系列(二):给Ubuntu18.4换软件源和pip源

Ubuntu系列(二):给Ubuntu18.4换软件源和pip源

作者:互联网

给Ubuntu18.4换软件源和pip源

一、换软件源

在这里插入图片描述
点击软件和更新
点击中国服务器后选择其他,自己选一个镜像,我喜欢用阿里云或者华为云。

在这里插入图片描述

二、换pip源

在终端输入

mkdir .pip && cd .pip
nano pip.conf

把下面的内容写进去

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

ctrl+o 保存,crtl+x 退出。

测试一下速度,很快!

在这里插入图片描述

标签:Ubuntu18.4,写进去,点击,aliyun,Ubuntu,pip,软件
来源: https://blog.csdn.net/m0_50679156/article/details/120907870