SCT v6.1 installation failed (Failed to connect to port 443 after 75707 ms: Couldn't connect to server)

(base) baobeibeixiaoshitou@xiatiandeMacBook-Pro ~ % cd ~/Downloads



* Welcome to SCT installation *


Checking OS type and version...

Darwin xiatiandeMacBook-Pro.local 20.6.0 Darwin Kernel Version 20.6.0: Thu Jun 8 22:36:09 PDT 2023; root:xnu-7195.141.49.701.4~1/RELEASE_X86_64 x86_64

ProductVersion: 11.7.8

Checking requirements...


Source files not present. Downloading source files (@ 6.1) to /var/folders/yr/x_rmsgcx1tx93wnh1jnnz1kr0000gp/T/tmp.KlZEMOyZ/spinalcordtoolbox.

Cloning into '/var/folders/yr/x_rmsgcx1tx93wnh1jnnz1kr0000gp/T/tmp.KlZEMOyZ/spinalcordtoolbox'...

fatal: unable to access '': Failed to connect to port 443 after 75707 ms: Couldn't connect to server

Installation failed!

Please find the file "/Users/baobeibeixiaoshitou/Downloads/install_sct_log.txt",

then upload it as a .txt attachment in a new topic on SCT's forum:


(base) baobeibeixiaoshitou@xiatiandeMacBook-Pro Downloads % cd ~/Downloads

bash install_sct-<version>

Hi @DeshengKong,

The installation appears to have failed due to internet connectivity issues. (The install script failed to download SCT’s source code from our project’s repository.) This can happen because of a poor internet connection but also due to e.g. firewall issues / country geo-blocking, etc.

There are a number of things that you can try:

Kind regards,

Thank you, I installed it successfully