import vtk.qt is not found

I am new to qt vtk i ma trying to add from vtk.qt.QVTKRenderWindowInteractorPython import QVTKRenderWindowInteractor i have tried a lot to pip reinstall vtk but still vtk qt module not found

Traceback (most recent call last):
File “e:\grpy\garoh.py”, line 2, in
print(vtk.qt.QVTKRenderWindowInteractor)
AttributeError: module ‘vtk’ has no attribute ‘qt’

python version 3.10.10

Have you tried vtkmodules.qt?

2 Likes