信阳市两学一做网站,网站开发 视频存在哪,30岁转行做网站编辑,外贸网站推广Pycharm在安装第三方库的时候报错 Read timed out.
错误原因
时间超时#xff0c;无法按时完成下载安装
解决办法
方法一#xff1a; 使用国内镜像进行下载安装
pip的国内镜像有
豆瓣#xff1a; http://pypi.douban.com/
山东理工大学#xff1a; ht…Pycharm在安装第三方库的时候报错 Read timed out.
错误原因
时间超时无法按时完成下载安装
解决办法
方法一 使用国内镜像进行下载安装
pip的国内镜像有
豆瓣 http://pypi.douban.com/
山东理工大学 http://pypi.sdutlinux.org/
华中理工大学 http://pypi.hustunique.com/
中国科技技术大学 http://pypi.mirrors.ustc.edu.cn/
切换制定源
在pip后面加上 -i 来指定镜像源。
示例使用山东理工大学的镜像源来安装whois库
pip install whois -i http://pypi.sdutlinux.org/simple注意 后面要有 /simple 目录
方法二安装whois库:
pip –default-timeout100 install -U whois