I have a Python script that imports genericIO (hacc / GenericIO · GitLab) and uses its functions. The code runs successfully with standard Python, but I would like to incorporate functions from ParaView, which requires me to run the script with pvpython.
However, when I execute the script using pvpython, I encounter the following error:
AttributeError: 'vtkPythonStdStreamCaptureHelper' object has no attribute 'fileno'
I’m wondering if anyone knows the cause of this error and how to fix it. Could it be related to a version mismatch between the VTK used by genericIO and the one used by ParaView?