pip 使用阿里源

pip 使用阿里源

使用pip install 的时候默认会去国外服务器下载,所以经常断开或者速度很慢.
只需要在原来的命令后加上-i https://mirrors.aliyun.com/pypi/simple即可直接从阿里源上安装.

pip install django==3.0.5 -i https://mirrors.aliyun.com/pypi/simple

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_29974229/article/details/124531361