python - 无法在 Windows 上将 Conda 与 Anaconda 2018.2 一起使用
问题描述
我刚刚在 Windows 10 上全新安装了 Anaconda 2018.2。这个 anaconda 版本使用 python v3.7。在运行 conda 进行更新conda update conda
时,出现以下错误;
Collecting package metadata: failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/win-64/repodata.json.bz2>
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.
If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.
SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443): Max retries exceeded with url: /pkgs/main/win-64/repodata.json.bz2 (Caused by SSLError("Can\'t connect to HTTPS URL because the SSL module is not available."))'))
解决方案
对我有用的是将这些文件从 Anaconda3/Library/bin 复制到 Anaconda3/DLLs :
libcrypto-1_1-x64.dll
libssl-1_1-x64.dll
推荐阅读
- python - 在两个几何图中找到对应的节点
- date - UiPath Orchestrator 触发器 - 特定日期的 Cron 表达式或下一个工作日(如果不是工作日)
- javascript - 打开后如何隐藏门的背面?Vanilla JS/CSS 门动画
- angular - 使用 ngx-markdown 给出静态注入器错误
- sharepoint-online - CSOM - 获取库根文件夹的用户权限
- firebase - 更新用户位置时避免使用 Firestore 支付巨额账单
- android - Firebase Crashlytics 控制台不再显示新旧版本的崩溃
- python - 我可以在与其他页面(如 wordpress)相同的 url 中创建一个烧瓶 webapp 吗?
- email - Odoo 错误:删除过滤器“我的邮件”时出现“文档类型:群发邮件,操作:已读”
- jquery - 如何以角度实现这个 jquery 函数?