I tried to install the newest sct-version (ubuntu 20.04, windows 10, 64bit) but the installation failed several times. I attached the error - message in a txt-file.
Do you have any idea how to solve the problem?
Thank you for reaching out and sorry you are experiencing difficulties in installing SCT. I cannot see your txt file, could you please attach it again?
Based on your error, it looks like conda is having trouble connecting to the anaconda.com servers. Sometimes this can be caused by location/country. So, one possible solution is to use a third-party mirror as an alternative to anaconda.com.
To do this, I would recommend following the suggestions from this guide:
Edit the file /home/hanna/.condarc and add the lines below. (If the file does not exist, create it first.)
Hi,
thank you for your answer but it does not work and the installation produces a similar error message.
I think it might be a problem with the combination of ubuntu 20.4 & wsl & conda --> I tried the installation on an older Ubuntu version on another computer and it worked (but I cannot use the computer for the analysis).
I’ll try to find a solution. (Rebooting of wsl/ubuntu did not solve the problem).
I just wanted to let you know that we encountered this issue again, and this time we were able to determine the cause, as well as introduce a fix. You were correct – it was indeed because of Ubuntu 20.04 + WSL.
I have the same issue that i always failed when using any ‘conda …’ command
I have tried your suggestion and it really helps me
Thank you very much Joshua.
May God bless you~~