ssl - 由于 Windows 10 上的 SSL,Julia 中的 conda 安装失败
问题描述
conda install xxx
失败并出现以下错误:
SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443): 最大重试次数超过了 url: /pkgs/main/win-64/current_repodata.json (由 SSLError(SSLError("握手错误:错误([(\'SSL 例程\',\'tls_process_server_certificate\',\'证书验证失败\')])“)))'))
也许必须有一些非常微妙的东西导致我的环境出现问题,但我真的不知道。
它曾经可以工作,但是在我重新安装 Windows 10 映像后,问题开始出现。它在 Windows 10 上。Conda 版本是 4.7.12。我的 .condarc 放在 %USERPROFILE% 中,看起来像:
channels:
- defaults
show_channel_urls: true
allow_other_channels: true
proxy_servers:
https: https://x.x.x.x:8080
ssl_verify: false
Internet 上针对上述错误的所有可用建议都表明将 ssl_verify 设置为 false 就足够了。
我还应该去哪里看看?
编辑:我在以下位置找到了一些有用的信息: https ://stackoverflow.com/a/56717433/7341479
它解决了运行在管理员中打开的 conda install Anaconda Powershell 的问题。但是当我在 Julia 中运行 pkg build PyCall 时它仍然存在
解决方案
推荐阅读
- security - 安全远程调试 JBoss
- python - 多元正态 cdf
- python - 如何动态调用函数
- java - Spring Boot Quartz 调度器配置
- javascript - 如何在创建的 Firefox 扩展弹出窗口中删除 moz-extension://?
- vb.net - Powershell 脚本有效,但不适用于 vb.net 代码
- maven - spring-boot-configuration-processor 不适用于 maven 子模块项目
- sql-server - 使用具有多个相同字符的子字符串
- elasticsearch - 我可以逐个集群管理“index.max_result_window”吗?
- java - Hive JDBC - getConnection 失败时的连接泄漏