As an example, I’m using vtk as a server, paraview web as a client and running them with pvpython of Paraview 5.9.0.I want to be able to use vtkImageViewer2. For some reason, vtkInteractionImage is not included in the bin/Lib/site-package/vtkmodules of Paraview 5.9.0 Therefore the vtkmodules/all.py is not recognizing vtkmodules.vtkInteractionImage.vtkImageViewer2.
Whereas, vtkImageViewer2 is present in a normal vtk 9.0.3 version installed in an anaconda environment.
I want to be able to use vtkImageViewer2 with the vtkmodules inside bin/Lib/site-package of Paraview 5.9.0. How would I include the vtkInteractionImage .dll files.
What I’ve tried so far…
Copy pasting the .dll file and .pyd file of vtkInteractionImage from the vtkmodules in the anaconda environment to the bin/Lib/site-package/vtkmodules of Paraview 5.9.0 and adding this line, “from .vtkInteractionImage import *” in the all.py module of bin/Lib/site-package/vtkmodules of Paraview 5.9.0. But, still I’m getting an error like,
“ImportError: DLL load failed while importing vtkInteractionImage: The specified module could not be found.”
Below are the images for your reference.
Copied the .dll and .pyd file.
Adding the .vtkinteractionImage import to all.py
The error message:
What am I missing? Any help on this is highly appreciated. Thanks in advance!