在pycharm上install模块时,报错
由于我配置的是远程服务器接口,根据网上的方法在~/.pip/pip.conf文件上添加镜像源,然并。。。没啥用。
后来在file–settings–project–project interpreter中修改下载repository
国内源:
阿里云 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/
安装模块未再报错~