Trouble installing fmriprep-docker

Hi all

thank you for making fmriprep available - judging from the preprint, it looks like a game changer.

I’m very new to Docker and Python, and I’m having some newbie pains trying to get the basic stuff to run. Please bear with me.

I’m working on macOS Sierra 10.12.6. I’ve installed the Anaconda-Navigator (Python 3.6.4) and Docker, both seem to work just fine.

However, when I try to run the following command (whit and without “–user”, as suggested in a previous post)

$pip install --user --upgrade fmriprep-docker

I get the error log below. Can you help?

Thank you very much,

Eugenio

PS: could I use $docker pull poldracklab/fmriprep as an alternative?

Error log starts here:

pip install --user --upgrade fmriprep-docker
Collecting fmriprep-docker
Using cached https://files.pythonhosted.org/packages/1b/46/0513ef5eed5622dbb859ef5d3fe40fc69f442a036d08866d9d3c37921f00/fmriprep-docker-1.0.11.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File “”, line 1, in
File “/private/var/folders/xw/1ffsr4qs18x1fj39yn012dvr0000gn/T/pip-install-yf308zrb/fmriprep-docker/setup.py”, line 43, in
main()
File “/private/var/folders/xw/1ffsr4qs18x1fj39yn012dvr0000gn/T/pip-install-yf308zrb/fmriprep-docker/setup.py”, line 14, in main
info = runpy.run_path(op.join(this_path, ‘fmriprep_docker.py’))
File “/Users/eugenio/anaconda3/lib/python3.6/runpy.py”, line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File “/Users/eugenio/anaconda3/lib/python3.6/runpy.py”, line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File “/Users/eugenio/anaconda3/lib/python3.6/runpy.py”, line 85, in _run_code
exec(code, run_globals)
File “/private/var/folders/xw/1ffsr4qs18x1fj39yn012dvr0000gn/T/pip-install-yf308zrb/fmriprep-docker/fmriprep_docker.py”, line 19, in
from future import standard_library
ModuleNotFoundError: No module named ‘future’

----------------------------------------

Command “python setup.py egg_info” failed with error code 1 in /private/var/folders/xw/1ffsr4qs18x1fj39yn012dvr0000gn/T/pip-install-yf308zrb/fmriprep-docker/

It’s a bug (more details here: https://github.com/poldracklab/fmriprep/issues/1079) that hopefully will be fixed soon.

In the meantime you will have install future manually by calling conda install future and then installing fmriprep-docker.

You can also directly use Docker without any wrappers. More details at http://fmriprep.readthedocs.io/en/latest/installation.html#docker-container

PS Thanks for the kind words!

Cheers, Chris, sorted!

2 Likes