errors.py 379 B

123456789101112
  1. WEB_DEPENDENCY_MISSING_MESSAGE = """Please install VTK's Web module dependencies.
  2. These include `wslink` and can be easily installed with vtk by using the
  3. `web` extra requirements option. For example:
  4. pip install vtk[web]
  5. """
  6. class WebDependencyMissingError(ImportError):
  7. def __init__(self, message=WEB_DEPENDENCY_MISSING_MESSAGE):
  8. super().__init__(message)