Nilearn datasets.fetch_atlas_yeo_2011() error


Hi all,

I’m running datasets.fetch_atlas_yeo_2011() and get the following error:

URLError: <urlopen error ftp error: [Errno ftp error] 550 Failed to change directory.| Error while fetching file; dataset fetching aborted.>

Not sure if this is an issue on Nilearn’s side or of it’s something to do with my computer?

Thank you in advance!


For those looking for an answer,

The FTP URL for the yeo_2011 dataset is incorrect in nilearn. To download the yeo_2011 atlas, you’ll have to manually enter the URL, like so:

datasets.fetch_atlas_yeo_2011(data_dir=[path], url=‘’)


Thanks for reporting this (and the solution !) @ryanhucla ! I wonder if the renaming happened when the Freesurfer server crashed a few weeks back.

I’m not sure if the better course of action is to ask the Freesurfer folks about the file path or to update nilearn…