$ python -c "from brainspace.mesh.mesh_io import read_surface"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/mathiasg/.pyenv/versions/nipreps/lib/python3.10/site-packages/brainspace/mesh/__init__.py", line 1, in <module>
from . import (array_operations, mesh_elements, mesh_correspondence,
File "/Users/mathiasg/.pyenv/versions/nipreps/lib/python3.10/site-packages/brainspace/mesh/array_operations.py", line 22, in <module>
from . import mesh_elements as me
File "/Users/mathiasg/.pyenv/versions/nipreps/lib/python3.10/site-packages/brainspace/mesh/mesh_elements.py", line 16, in <module>
from ..vtk_interface import wrap_vtk, serial_connect
File "/Users/mathiasg/.pyenv/versions/nipreps/lib/python3.10/site-packages/brainspace/vtk_interface/__init__.py", line 1, in <module>
from .wrappers.base import (wrap_vtk, unwrap_vtk, wrap_vtk_array,
File "/Users/mathiasg/.pyenv/versions/nipreps/lib/python3.10/site-packages/brainspace/vtk_interface/wrappers/__init__.py", line 1, in <module>
from .base import BSVTKObjectWrapper
File "/Users/mathiasg/.pyenv/versions/nipreps/lib/python3.10/site-packages/brainspace/vtk_interface/wrappers/base.py", line 15, in <module>
from .utils import call_vtk, get_vtk_methods, is_numpy_string, is_vtk_string
File "/Users/mathiasg/.pyenv/versions/nipreps/lib/python3.10/site-packages/brainspace/vtk_interface/wrappers/utils.py", line 15, in <module>
from vtk.util.vtkConstants import VTK_BIT, VTK_STRING, VTK_UNICODE_STRING
ImportError: cannot import name 'VTK_UNICODE_STRING' from 'vtk.util.vtkConstants' (/Users/mathiasg/.pyenv/versions/nipreps/lib/python3.10/site-packages/vtkmodules/util/vtkConstants.py)