由于默认镜像源为国外服务器,下载速度慢并且还会经常性的失败,故而
提供两种国内镜像源,提高下载速度。
阿里镜像源:http://mirrors.aliyun.com/pypi/simple/
清华镜像源:https://pypi.tuna.tsinghua.edu.cn/simple/
操作步骤
1.file–>Settings–>Python Interpreter–>
双击pip
选中pip,点击Manage Repositories
删除原有链接,点击+号,将最初的链接复制进去即可。