一、问题
在使用pip install 安装模块的时候 有时候会出现如下问题
二、解决
此时只需要换一下下载源就行最后是需要下载的模块,这样就能很快下载。
pip install -i htps://pypi.tuna.tsinghua.edu.cn/simple mysql
国内的一些源:
阿里云 http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
豆瓣(douban) http://pypi.douban.com/simple/
清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/
中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/