Incompatible numpy and scipy versions in pvpyton

Hi ParaView Team,

when using ParaView-5.13.3-osmesa-MPI-Linux-Python3.10-x86_64/bin/pvpython
and importing
from scipy.spatial.transform import Rotation as R

I get follwing ValueError:
numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

It seems scipy is not compatible with Numpy >= 2

Best regards,
Jan

from scipy.spatial.transform import Rotation as R

This import works fine in ParaView nightly binary release on Linux.
Can you try it: https://www.paraview.org/download/?version=nightly

Just tested, I confirm it works with the Full suite
ParaView-5.13.20250429-MPI-Linux-Python3.12-x86_64/bin/pvpython

however unfortunately not with the headless version
ParaView-5.13.3-2-g22fe491f25-osmesa-MPI-Linux-Python3.10-x86_64/bin/pvpython

This is the headless version of the release branch.

There is no headless version anymore for the master branch nor for the upcoming ParaView 6.0

In any case, that means this issue has been fixed.

ok, thanks for clarifying. Besides, I get another error related to the OpenFOAMReader:

from paraview.simple import *
foam=OpenFOAMReader(FileName='tmp.foam')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/.../ParaView-5.13.20250429-MPI-Linux-Python3.12-x86_64/lib/python3.12/site-packages/paraview/simple/session.py", line 34, in CreateObject
    from paraview.catalyst.detail import IsInsituInput, CreateProducer
  File "/home/.../ParaView-5.13.20250429-MPI-Linux-Python3.12-x86_64/lib/python3.12/site-packages/paraview/catalyst/detail.py", line 7, in <module>
    from ..modules.vtkPVInSitu import vtkInSituPipelinePython
ImportError: /home/.../ParaView-5.13.20250429-MPI-Linux-Python3.12-x86_64/lib/python3.12/site-packages/paraview/modules/../../../../libvtkPVInSitu-pv5.13.so.1: undefined symbol: PyCatalystConduit_Node_Wrap

Or shall I open anther task for this?

Im unable to reproduce, it works fine with my OpenFOAM data.

I am getting this only with the nightly binary. I cannot even start the GUI with that version. Starting paraview result in:

ParaView-5.13.20250429-MPI-Linux-Python3.12-x86_64/bin/paraview-real: symbol lookup error: /usr/lib/x86_64-linux-gnu/libQt6DBus.so.6: undefined symbol: _ZN9QtPrivate23CompatPropertySafePointC1EP14QBindingStatusP20QUntypedPropertyData, version Qt_6

You should clean your env variables, right now you are using your system Qt because LD_LIBRARY_PATH is set.

you are right, after cleaning the environment the nightly binary runs fine, both GUI and pvpython. Thanks for your support!

1 Like