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

版权声明:未经博主同意,禁止转载。谢谢! https://blog.csdn.net/cp_123321/article/details/85037824

使用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里设置,

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

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

 或者是在Anaconda Navigator里安装:

猜你喜欢

转载自blog.csdn.net/cp_123321/article/details/85037824