Rustup says protocol “https” not supported or disabled in libcurl

人走茶凉 提交于 2019-12-01 19:39:11

问题


I have been trying to use Rustup for a while now and it says this when I try to do anything with it:

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

I know that cURL has HTTPS enabled — I just tried using it and it worked fine.


回答1:


Probably not what you want to hear, but they have known issues at the moment with ARM.

This workaround seems to work for me:

  • Directly download rustup-init from https://github.com/rust-lang-nursery/rustup.rs for your platform
  • env RUSTUP_USE_HYPER=1 ./rustup-init

It should also work to export RUSTUP_USE_HYPER=1 (assuming you aren't using tcsh) before running the rustup script, but the above is what I tested and used.



来源:https://stackoverflow.com/questions/43379976/rustup-says-protocol-https-not-supported-or-disabled-in-libcurl

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!