HTTP errors are often intermittent, and a simple retry will get you on your way. ConnectionError

使用anaconda安装scrapy是报错:HTTP errors are often intermittent, and a simple retry will get you on your way.
ConnectionError(ReadTimeoutError("HTTPSConnectionPool(host='conda.anaconda.org', port=443): Read timed out.",),)

由以上错误提示知都是网络问题,导致安装失败。Anaconda默认的镜像源大部分都在国外,国内很多网络环境下,访问不稳定,下载速率慢,有时根本连接不上,另外国内也有镜像源,可以修改Anaconda的镜像源为国内的。

可以修改镜像源为https://mirrors.ustc.edu.cn/anaconda/pkgs/free/,

在Anaconda Navigator里设置,

HTTP errors are often intermittent, and a simple retry will get you on your way. ConnectionError_第1张图片

将原来的镜像源给更换了,此时在使用conda install scrapy 安装时,便不会报错了,而且安装的特别快。

HTTP errors are often intermittent, and a simple retry will get you on your way. ConnectionError_第2张图片

安装完成后,输入scrapy,出现以下界面,即安装成功!

HTTP errors are often intermittent, and a simple retry will get you on your way. ConnectionError_第3张图片

 或者是在Anaconda Navigator里安装:

HTTP errors are often intermittent, and a simple retry will get you on your way. ConnectionError_第4张图片

 

 

 

你可能感兴趣的:(scrapy)