How to set VTK for using Python in Windows

Hi to everyone! I’m really new in using VTK. I have installed it with VisualStudio as generator on windows, following this tutorial “https://www.youtube.com/watch?v=6S3_sl5Sc0E”. Now I’m able to work with that using C++, but I would like to use Python because it’s easier for me.

I have installed the python extension on Visual studio. When I open a new python project, importing a VTK python example and running it, I obtain the error “No module named vtk”.

Instead, if I open a .sln file obtained from cmake(with C++) and compiling with VisualStudio, I obtain the .exe file that I run from prompt and works.

Is there any step for connecting python(in VisualStudio) to VTK that I haven’t done yet? Could you explain me step by step please?