nipy / nipype

Workflows and interfaces for neuroimaging packages
https://nipype.readthedocs.org/en/latest/
Other
745 stars 529 forks source link

AttributeError: 'PythonQtStdOutRedirect' object has no attribute 'fileno' #3649

Open sarafv opened 3 months ago

sarafv commented 3 months ago

Summary

Actual behavior

import error

Expected behavior

no error

How to replicate the behavior

On 3D Slicer python console :

slicer.util.pip_install('nipype')
import nipype

Script/Workflow details

Please put URL to code or code here (if not too long).

Platform details:

3D Slicer python (3.9) Console

Execution environment

Choose one

sarafv commented 3 months ago

I had installed nipype with pip install on 3D Slicer python (3.9) without errors but when I do import nipype on the python shell I get :

Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "/home/sara.fernandezvidal/thirdPartySoftwareStim/Slicer-5.6.1-linux-amd64/lib/Python/lib/python3.9/site-packages/nipype/__init__.py", line 28, in <module>
    faulthandler.enable()
AttributeError: 'PythonQtStdOutRedirect' object has no attribute 'fileno'