autocomplete issue with vtk in vscode and pycharm

I have just installed it in vscode with conda into my env when I try to use there is no autocompletion in the ide ! i searched the web and the forum but in vain I read some things about sciprts and specific versions but didn’t find any help! how can I work with this issue?

What version of VTK does conda provide? VTK 9.2.2?

Please not that autocompletion will not work if you import vtk into your program with “import vtk”. Instead, you must use

import vtkmodules.all as vtk

or import classes individually as follows

from vtkmodules.vtkCommonCore import vtkObject

This might be fixed in future releases of VTK.

1 Like

Note that it has been fixed as of 9.2.4 at least.