Instlation Failed with Windows11

Hi, I tried to install SCT on my windows 11 computer.
Unfortunately, I failed the installation.
I had error message #2.
Could you help me? Thank you.

The description is the following.



Successfully installed spinalcordtoolbox-5.8

### Downloading model files and binaries...

--
Spinal Cord Toolbox (git-HEAD-24f602b40754c7723de875c787e29644a204138d)

sct_download_data -d PAM50 -k
--

Trying URL: https://github.com/spinalcordtoolbox/PAM50/releases/download/r20201104/PAM50-r20201104.zip
Downloading: PAM50-r20201104.zip
Status: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 70.9M/70.9M [00:24<00:00, 2.90MB/s]
Creating temporary folder (C:\Users\yuta\AppData\Local\Temp\sct-20230314160054.938108-5m9lx41_)
Unzip data to: C:\Users\yuta\AppData\Local\Temp\sct-20230314160054.938108-5m9lx41_
Copying data to: C:\Users\yuta\spinalcordtoolbox\data\PAM50
Removing temporary folders...
Done!


--
Spinal Cord Toolbox (git-HEAD-24f602b40754c7723de875c787e29644a204138d)

sct_download_data -d gm_model -k
--

usage: sct_download_data -d
                         {binaries_linux,binaries_osx,binaries_win,c2c3_disc_models,course_beijing19,course_harvard21,course_hawaii17,course_london19,course_london20,course_paris18,deepreg_models,deepseg_gm_models,deepseg_lesion_models,deepseg_sc_models,exvivo_template,MNI-Poly-AMU,optic_models,PAM50,pmj_models,sct_example_data,sct_testing_data}
                         [-h] [-o <folder>] [-k] [-v <int>]

Download binaries from the web.

MANDATORY ARGUMENTS:
  -d {binaries_linux,binaries_osx,binaries_win,c2c3_disc_models,course_beijing19,course_harvard21,course_hawaii17,course_london19,course_london20,course_paris18,deepreg_models,deepseg_gm_models,deepseg_lesion_models,deepseg_sc_models,exvivo_template,MNI-Poly-AMU,optic_models,PAM50,pmj_models,sct_example_data,sct_testing_data}
                        Name of the dataset.

OPTIONAL ARGUMENTS:
  -h, --help            Show this help message and exit.
  -o <folder>           Path to a directory to save the downloaded data.
                        (If not provided, the dataset will be downloaded to the SCT installation directory by default.
                        Directory will be created if it does not exist. Warning: existing data in the directory will be
                        erased unless -k is provided.)
  -k                    Keep existing data in destination directory. (default: False)
  -v <int>              Verbosity. 0: Display only errors/warnings, 1: Errors/warnings + info messages, 2: Debug mode
                        (default: 1)

sct_download_data: error: argument -d: invalid choice: 'gm_model' (choose from 'binaries_linux', 'binaries_osx', 'binaries_win', 'c2c3_disc_models', 'course_beijing19', 'course_harvard21', 'course_hawaii17', 'course_london19', 'course_london20', 'course_paris18', 'deepreg_models', 'deepseg_gm_models', 'deepseg_lesion_models', 'deepseg_sc_models', 'exvivo_template', 'MNI-Poly-AMU', 'optic_models', 'PAM50', 'pmj_models', 'sct_example_data', 'sct_testing_data')

Failed with error #2.

Hi @Yuta_Miyazaki,

Thank you so much for reporting this error. I have now fixed the issue (more info here).

Could you please go to the 5.8 Release Page, then redownload the fixed β€œinstall_sct-5.8_win.bat” file, and try the installation again?

Thank you kindly,
Joshua

Hi, Joshua

Thank you for your great help and fix it.
I completed the installation.
Thank you.

Yuta

1 Like