我使用Msys2来运行和编译c/nim程序,我克隆了一个具有我想要运行的.nim文件但没有证书包(如nimcrypto )的repo,所以我使用了下面的命令
nimble install nimcrypto 但是得到了这个错误
$ nimble install nimcrypto
Prompt: No local packages.json found, download it from internet? [y/N]
Answer: y
Downloading Official package list
Tip: 5 messages have been suppressed, use --verbose to show them.
Error: Refresh failed
... Could not download: No SSL/TLS CA certificates found.我从哪里获得这些证书,以及如何将它们添加到灵活的
使用这下载的灵活性
使用这下载的nim
Nim Compiler Version 1.4.6 [Windows: amd64]
Compiled at 2021-05-03
Copyright (c) 2006-2020 by Andreas Rumpf
git hash: 09db720eff0ec9e160debab126af37b1a4df296c
active boot switches: -d:release发布于 2022-03-02 15:42:19
从/usr/bin手动从此链接下载证书
这似乎解决了这个问题
https://stackoverflow.com/questions/71325130
复制相似问题