安装Anaconda 时,未勾选自动配置环境变量
手动配置的时候,只填写了E:\program\Anaconda\Scripts;
没有配置下面两项
E:\program\Anaconda\Library\bin;
E:\program\Anaconda\
结果命令下 conda upgrade --all 出现
Solving environment: failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://mirrors.tuna.tsingh
a.edu.cn/anaconda/pkgs/main/noarch/repodata.json>
Elapsed: -
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way
SSLError(MaxRetryError('HTTPSConnectionPool(host=\'mirrors.tuna.tsinghua.edu.cn
', port=443): Max retries exceeded with url: /anaconda/pkgs/main/noarch/repodat
.json (Caused by SSLError("Can\'t connect to HTTPS URL because the SSL module i
not available."))'))
网上搜索,答案大多为:更换为清华源、提示未安装oppensll,尝试后依然报错
最后,看到一篇文章介绍Anaconda为集成包,不会出现一些低级,重新配置了环境变量,结果好了,以此记录下!
此后conda install scrapy 安装成功 但是scrapy 报错
from cryptography.hazmat.bindings._openssl import ffi, lib ImportError: DLL load failed: 操作系统无法运行 %1
结果 pip install -I cryptography 最后scrapy成功!