Pycharm配置pip使用阿里云镜像源
打开Pycharm的终端,如图所示
配置使用阿里云镜像
使用指令
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple
其中https://mirrors.aliyun.com/pypi/simple 为阿里云的镜像,当然,开发者也可以在网上搜索其他的镜像url地址。
使用如下指令检查配置后的结果
pip config get global.index-url