Failed installation for Windows Subsystem for Linux

Failed running pip install: 2
Installation failed!
Please find the file “/home/lyq/spinalcordtoolbox/install_sct_log.txt”,
then upload it as a .txt attachment in a new topic on SCT’s forum:

My code:
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get -y install gcc unzip python3-pip python3 psmisc net-tools git gfortran libjpeg-dev
cd ~
git clone GitHub - spinalcordtoolbox/spinalcordtoolbox: Comprehensive and open-source library of analysis tools for MRI of the spinal cord.
cd spinalcordtoolbox
./install_sct -y

I couldn’t find the txt location.

Hi @lyqnengfei,

Note: My deepest apologies for the late response. (The forum’s email notification system has been down, and so I missed your post.)

The installation steps that you’ve used appear correct to me.

However, without more details about the failure (from the install log), there is not much information that I can use to diagnose the problem.

If you could please try installing SCT once more, and then copying and pasting all of the output from the installation, that would be greatly helpful.

Kind regards,