更换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
命令如下:
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
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。