我没有https://repo.anaconda.com/pkgs/main/linux-aarch64作为可信任的资源。所以当我试图创建一个conda环境时
$ conda create --name bot-maker python=3.8
Collecting package metadata (current_repodata.json): failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/linux-aarch64/current_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.
If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.
'https://repo.anaconda.com/pkgs/main/linux-aarch64'现在,wget也有类似的问题,但是我们可以使用--no-check-certificate,这都是很好的。
这里有什么我能做的吗。比如在本地下载repodata.json文件并共享它到conda的路径或类似的选项,我可以使用它跳过certificate verification
发布于 2022-08-09 13:47:49
您正在寻找-k标志,来自医生们
-k,-不安全 允许conda执行“不安全”SSL连接和传输。相当于将“ssl_verify”设置为“false”。
或者,您可以使用以下方法在conda设置中永久设置它:
conda config --set ssl_verify false https://stackoverflow.com/questions/73292766
复制相似问题