由于某些众所周知的原因,国外的源速度都很慢,这里推荐把源换成阿里云的。

具体操作步骤:

mkdir ~/.pip
cd ~/.pip
touch pip.conf
vim pip.conf
并写入以下内容
[global]
index-url=https://mirrors.aliyun.com/pypi/simple
trusted-host=mirrors.aliyun.comCode language: PHP (php)

以上。

2019/3/27

修复创建隐藏文件目录的语法问题

分类: LinuxPYTHON

0 条评论

发表回复

Avatar placeholder

您的电子邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据