You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting this import error ImportError: cannot import name 'VTK_UNICODE_STRING' from 'vtk.util.vtkConstants' when I try to import from enigmatoolbox.datasets import load_summary_stats
This happens in python 3.8 and python 3.9 on a linux ubuntu and linux redhat distros
I can do everything I want to do by from vtk.util.vtkConstants import VTK_STRING#, VTK_UNICODE_STRING in the vtk.wrappers.utils file and was going to issue a pull request however saw this then effects the is_vtk_string() function in that file which seems to be used all over vtk.interface and my pull request would probably break everything.
Thanks
The text was updated successfully, but these errors were encountered:
Hi
I am getting this import error ImportError: cannot import name 'VTK_UNICODE_STRING' from 'vtk.util.vtkConstants' when I try to
import from enigmatoolbox.datasets import load_summary_stats
This happens in python 3.8 and python 3.9 on a linux ubuntu and linux redhat distros
It looks like VTK_UNICODE_STRING is depreciated (https://gitlab.kitware.com/vtk/vtk/-/issues/18327) and there is definitely no VTK_UNICODE_STRING in vtk.util.vtkConstants.
I can do everything I want to do by
from vtk.util.vtkConstants import VTK_STRING#, VTK_UNICODE_STRING
in the vtk.wrappers.utils file and was going to issue a pull request however saw this then effects the is_vtk_string() function in that file which seems to be used all over vtk.interface and my pull request would probably break everything.Thanks
The text was updated successfully, but these errors were encountered: