Got a problem when I download the Rust code in Linux。


#1
   Today I learned the Rust Programming Language on (https://doc.rust-lang.org/book/getting-started.html).I got a problem when I downloaded the code using (curl https://sh.rustup.rs -sSf | sh). The log is as following:

   Current installation options:

 default host triple: x86_64-unknown-linux-gnu
 default toolchain: stable
 modify PATH variable: yes
  1. Proceed with installation (default)
  2. Customize installation
  3. Cancel installation
    1

info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu’
error: could not download file from 'https://static.rust-lang.org/dist/channel-r
info: caused by: error during download
info: caused by: [7] Couldn’t connect to server (Unsupported proxy scheme for 'h

 Anyone met this problem before?Who can help me?Thanks.

Ronaldo


#2

Can you post the output of env | grep -i http?