vtkAVIWriter

Hello!
I want o create animation and save it as a avi. My animation works but when i want to import module i got error:
AttributeError: module ‘vtk’ has no attribute ‘vtkAVIWriter’

Did AVIWroter is only in C++?

From VTK: vtkAVIWriter Class Reference

Note that this class in only available on the Microsoft Windows platform.

Ok, thanks. I check the platform every time I run the program. The code is written in pycharm on a virtual machine, so that may be the problem. I ran the code from the console and it indeed works as it should.