Problems installing FSL

Mamba has been experiencing compatibility issues with conda recently, so that makes sense.

1 Like

Well, I am not stuck in this part but after 10 minutes on the 100% in the Installing FSL into part , it appears the error message.

Hi @Joan_Carreras_Diaz it looks like you didn’t add the --conda option? I suspect it will have failed for the same reason as before.

1 Like

Hi, I have executed the line you have told me:

python fslinstaller.py --conda

But it does not seem to work. It has been in the 10% of the loading for more than an hour as you can see below. Is that normal?

Thank you,
Joan

When using the --conda option, I would expect the installation to take a bit longer, as conda is typically much slower than mamba.

1 Like

Hi, I am still not able to install FSL, when using conda, it keeps stuck in the 10% of the installation as I have shown it before.

Yes, using the --conda option causes the installation to take a very long time for me. Does your macbook have a M1/M2/M3 processor by any chance?

edit: On my intel macbook when using --conda, the installation does eventually succeed, but is stuck at 10% for over two hours. This is because conda is much slower than mamba at solving the environment specification.

1 Like

It is an intel processor. Do I need to wait about two hours and see if the installation completes?

Hi, after the 40% of the installation, it appeared the following error message.

I am trying to install onda but it does not seem to exist, as you can see below:

Thank you,
Joan

I have installed ondir as it was said in the Warning message. After that, I have tried again to install the FSL. This time, I had to wait two hours and a half and the installation stopped on the 71%.

Are you able to use a faster internet connection for the installation? The installation needs to download about 4GB of data, and can fail when attempted over poorer connections.

P.S. The ‘onda’ / ‘ondir’ packages are unrelated - the fslinstaller script only requires a python interpreter - I’m fairly sure that the installation is failing due to an unreliable network connection./

1 Like

Yes, I have finally managed to download it. At the end I managed to get a wire and I tried using that. Finally I have succeeded.

Thank you, very much!
Joan

Dear Paul,

I just bought an Macbook M3 Max and I have troubles installing FSL
Here is the error:

Are you able to share the log file that is mentioned? This is probably due to an issue with mamba which is still outstanding, and which can hopefully be avoided by running the installer script with the --conda option, e.g.:

python fslinstaller.py --conda

Dear Paul,
obviously there was an env conflict in my base, I resolved the problem with creating a new env dedicated for fsl, then it worked,
Thank you so much!!
Best,
Aymen

2 Likes

Hi @paulmccarthy , I am currently attempting to install FSL on Ubuntu 22, and I have encountered an issue where the installation process has been stuck at 12% for over two hours, as indicated below. I was wondering if you might have any suggestions or advice for this situation, or should I continue waiting patiently without taking any further action?

How fast is your internet connection? The installation involves downloading around 4GB of data, so if you are using a slow connection it is going to take a long time.

Thanks for the info. I’m not entirely certain about the stability of my network connection. I have to use a proxy due to server firewalls, which gives me an average download speed of about 1MB/s when downloading Miniconda. As for FSL, I haven’t been able to gauge the speed since it lacks a progress bar.

Is there an alternative to the standard installation scripts? Like pre-downloading the source code for local compilation. Also, I’m exploring other options, like the impressive fslpy project, though I’m still learning about its capabilities and usage. I’m relatively new to this field and my main goal is to preprocess fMRI data (like motion and slice-timing correction) for analysis. Any guidance or suggestions would be greatly appreciated! :pray:

Hi @yuhan_chen,

You can try using one of the Docker containers. E.g.,: Docker

You can try fmriprep for that fMRIPrep: A Robust Preprocessing Pipeline for fMRI Data — fmriprep version documentation (also works off of Docker/Singularity containers). The developers often provide help for that on this website.

Best,
Steven

Hi @Steven,

Thank you very much for your helpful suggestions! I’ll try using the Docker containers and fMRIPrep right away.

Best regards,
Yuhan