AttributeError: 'module' object has no attribute 'vtkOBJWriter'

Dear all,

Why I get an error saying this module is missing?

Python 2.7.15+ (default, Oct  7 2019, 17:39:04) 
[GCC 7.4.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import vtk
>>> writer =vtk.vtkOBJWriter()
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
   AttributeError: 'module' object has no attribute 'vtkOBJWriter'
 >>> writer =vtk.vtkSTLWriter()
 >>>

Hello,
This writer is available since VTK 8.2, which version are you using?

Thanks for the info. I am using 8.1 .2, I don’t think 8.2 is available in pip.