gpt4 book ai didi

curl - Rustup 说 libcurl 中不支持或禁用协议(protocol) "https"

转载 作者:行者123 更新时间:2023-12-01 00:32:51 26 4
gpt4 key购买 nike

我一直在尝试使用 Rustup 一段时间,当我尝试用它做任何事情时它会这样说:

info: caused by: [1] Unsupported protocol (Protocol "https" not supported or disabled in libcurl)

我知道 cURL 启用了 HTTPS——我刚刚尝试使用它,它运行良好。

最佳答案

可能不是你想听到的,但他们有 known issues at the moment with ARM .

这种解决方法似乎对我有用:

  • 直接从 https://github.com/rust-lang-nursery/rustup.rs 下载 rustup-init适合您的平台
  • env RUSTUP_USE_HYPER=1 ./rustup-init

  • 它也应该适用于 export RUSTUP_USE_HYPER=1 (假设您没有使用 tcsh)在运行 rustup 脚本之前,但以上是我测试和使用的。

    关于curl - Rustup 说 libcurl 中不支持或禁用协议(protocol) "https",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43379976/

    26 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com