Skip to content

Draft: Apply try/except to importing most python modules

David Gobbi requested to merge dgobbi/vtk:python-try-import-except into master

In order to make it easier for package managers to build VTK with everything and then split it into smaller binary packages, use a try/except for importing all but the StandAlone and Rendering modules. This allows "import vtk" to work even if not all of the built modules are installed.

Closes: #18365

Merge request reports