nipype icon indicating copy to clipboard operation
nipype copied to clipboard

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

Open sarafv opened this issue 1 year ago • 1 comments
trafficstars

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

  • Container [Tag: ???]
  • My python environment inside container [Base Tag: ???]
  • My python environment outside container

sarafv avatar May 23 '24 09:05 sarafv

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'

sarafv avatar May 23 '24 09:05 sarafv