加速pip更新速度,使用阿里云pip源

Linux系统: ide

 mkdir ~/.pip url

 cat > ~/.pip/pip.conf << EOF ip

[global] get

trusted-host=mirrors.aliyun.com it

index-url=https://mirrors.aliyun.com/pypi/simple/ pip

EOF class


Windows系统: rust

 首先在window的文件夹窗口输入 : %APPDATA% im

 而后建立pip文件夹 di

 最后建立pip.ini文件,写入以下内容 

 [global] 

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

[install] 

trusted-host=mirrors.aliyun.com

相关文章
相关标签/搜索