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!
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
Hello,
Apple Silicon m3 with MacOS Sonoma 14.3. (Should work with all M1, M2 and M3). Following these steps I could install FSL correctly. All thanks to @aymen_meddebās hint. Hopefully this post can be helpful for others. The problem seems to be due to some incompatibility between Anacondaās mamba package installed by default in base environment and the mamba package specified by FSLās installation. So a regular python installation, rather than Anaconda, should also probably work. But, in case you just want it to work and you are an Anaconda userā¦
- Create an empty python environment (you can specify your own python version or none at all). This is only needed for the installation process. Once FSL is correctly installed you can go back to your regular python envs.
conda create --name fsl_install_env python=3.11
- Activate it.
conda activate fsl_install_env
- run the installation script. No need to specify flags like
--conda
etcā¦ Your actual command might be different, but should be similar to.
python fslinstaller.py
- When FSL is correctly installed, you can activate your previously active env and delete this one. To properly configure FSL you can open a new terminal and call FSL, as specified in FSLās installation instructions.
fsl &
or
fsleyes &
should work.
Hope this helps.
Hi Juan,
I get this error as well, even after trying your fix. I have an Intel based Mac, and am currently using miniconda3. Do you have any insight?
Thank you!
I am having a similar issues as the others when trying to download FSL.
Ive tried both mamba and conda, but I get an error message after only a minutes. It also never goes above 0% downloaded.
Iāll included the error message I keep getting.
Here it is.
It looks like youāve attached the installer script itself, not the log file that is mentioned in the output you pasted earlier.
Hi @Kvandeloo, could you please:
- Re-download the
fslinstaller.py
script from https://fsl.fmrib.ox.ac.uk/fsldownloads/fslconda/releases/fslinstaller.py - Re-run this new version without the
--conda
option
and, if it doesnāt work, report back what happens (including the log file)?
Ah yeah oops. I am having a different issue now though. It starts installing but is getting stuck at 92%.
Ok I tried to re-install it, but it said the package was already on my deviceā¦
I think this was the log file you were referring to though.
Hi @Kvandeloo, could you try running the installer (the new version that you downloaded) with this command:
python fslinstaller.py --miniconda https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
Hi @Tru_Gamble, could you re-download the fslinstaller.py script from https://fsl.fmrib.ox.ac.uk/fsldownloads/fslconda/releases/fslinstaller.py, and re-run it with this command (it should report itself as being version 3.8.2):
python fslinstaller.py --miniconda https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh
Hey @paulmccarthy, thanks a lot.
This works.
My macbook air OS14-Sonoma was having same problem like @Tru_Gamble had which fsl installation stopping at 92%. I have tried all other above solutions like
1)creating new env(stopped at 92%)
2) --conda(stops before starting fsl installation)
nothing works.
Finally this works.
Thanks so much - this worked!