Hi Ben, thanks for your reply.
Finally I have build the wrapper and works when imported on a custom venv. Now I’m facing another problem that concerns vtkCommonCore compatibiliy. My lib links to my system’s vtk lib, and I think need to build wrapper linking to venv vtk libs.
The error:
from customodules.renderingAnnotation import LegendScaleActor
ImportError: Initialization failed for renderingAnnotation, not compatible with vtkmodules.vtkCommonCore
This appens when the vtk lib goes installed trough pip, but when I copy the entire vtk lib generated on my system (using the same version 9.4.1) this problem goes away.
In any case i need to use pip’s vtk lib.
Any suggestions?