Score:0

Failed to create FSL Python environment in Ubuntu 20.4 shell in Windows 10

jp flag

I need to use fslreorient2std on some images and I'm trying to install FSL in an Ubuntu 20.04.3 shell in Windows 10.

I used python "/mnt/c/Users/user/Downloads/fslinstaller.py", which seems to work fine until Stage 2 where it produces this error:

...

Stage 2 100% ----- ERROR ----- Failed to create FSL Python environment - see /tmp/fslpython1vkK/fslpython_miniconda_installer.log for details

Post install setup failed [OK] Post installation setup complete Setting up FSL software... [OK] User profile updated with FSL settings, you will need to log out and back in to use the FSL tools.

In fact, when I check the details in "fslpython_miniconda_installer.log" it reads:

Collecting package metadata (repodata.json): ...working... failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://conda.anaconda.org/conda-forge/linux-64/repodata.json

Elapsed: -

An HTTP error occurred when trying to retrieve this URL.

HTTP errors are often intermittent, and a simple retry will get you on your way.

'https://conda.anaconda.org/conda-forge/linux-64'

And indeed even when reopening Ubuntu, FSL commands don't work, for example "fslreorient2std" gives: "/usr/bin/env: 'fslpython': No such file or directory". I did try many times in the last days, following the instructions for Ubuntu, as well as doing the troubleshooting, but the error does not appear intermittent to me. I did not find an answer in stackoverflow as this question¨ does not have an answer and the files mentioned in this thread are not in the corresponding folders in my computer.

Any advice will be welcome, sorry if my question is naive, I'm a new user. Thanks, best L

user535733 avatar
cn flag
The first step is right there in your output: `Review /tmp/fslpython1vkK/fslpython_miniconda_installer.log for details`
Luca avatar
jp flag
Thanks for your answer, I did check the log and I pasted the relevant details above in my question!
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.