Weird Mistake

107 views
Skip to first unread message

Cristian Reyes

unread,
Nov 29, 2021, 3:00:39 PM11/29/21
to mriqc-users
Hi everybody, I am new using MRIQC. I'm using Mac OS Big Sur. After running the code on the the terminal to carry out a participant-level analysis I get the next error message:

ModuleNotFoundError: No module named 'niworkflows.interfaces.utils'

I am using Docker (I'm also new with it but I think I installed it well). Can anyone help me?

Thank in advance.

Suhas Vijayakumar

unread,
Dec 11, 2021, 3:44:45 PM12/11/21
to mriqc-users
Hi everyone, 

I have the same error as Cristian Reyes. 

Just wanted to add that based on the discussion on INCF Neurostars, I tried to change mriqc version to 21.0.0 prerelease (rc2) using: docker pull nipreps/mriqc:21.0.0rc2 But the error persists. BIDS validator gave no errors. So, I'm not sure what else might be going wrong. I'm working with Docker on an M1 chip mac. Complete error message from the terminal below. 

Any help is much appreciated. 

Best,
Suhas 

Terminal output: 
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

211211-20:11:43,811 cli IMPORTANT:
    Running MRIQC version 0.16.1+81.g0093e62.dirty:
      * BIDS dataset path: /data.
      * Output folder: /out.
      * Analysis levels: ['participant'].
Process Process-2:
Traceback (most recent call last):
  File "/opt/conda/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/opt/conda/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/conda/lib/python3.8/site-packages/mriqc/cli/workflow.py", line 21, in build_workflow
    retval["workflow"] = init_mriqc_wf()
  File "/opt/conda/lib/python3.8/site-packages/mriqc/workflows/core.py", line 22, in init_mriqc_wf
    workflow.add_nodes([fmri_qc_workflow()])
  File "/opt/conda/lib/python3.8/site-packages/mriqc/workflows/functional.py", line 43, in fmri_qc_workflow
    from niworkflows.interfaces.utils import SanitizeImage


ModuleNotFoundError: No module named 'niworkflows.interfaces.utils'

Jadyn Park

unread,
Jun 8, 2022, 4:20:19 PM6/8/22
to mriqc-users
Hi,

I have the same error as yours above. Were you able to resolve it, by chance?

Reply all
Reply to author
Forward
0 new messages