# autocomplete issue with vtk in vscode and pycharm

**URL:** https://discourse.vtk.org/t/autocomplete-issue-with-vtk-in-vscode-and-pycharm/10589
**Category:** Support
**Tags:** python
**Created:** [February 1, 2023, 10:00pm UTC](https://discourse.vtk.org/t/autocomplete-issue-with-vtk-in-vscode-and-pycharm/10589 "2023-02-01T22:00:54Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Abdelkareem\_Elkhateb](https://discourse.vtk.org/user_avatar/discourse.vtk.org/abdelkareem_elkhateb/32/6483_2.png) [@Abdelkareem\_Elkhateb](https://discourse.vtk.org/u/Abdelkareem_Elkhateb)
#### Post date: [February 1, 2023, 10:00pm UTC](https://discourse.vtk.org/t/autocomplete-issue-with-vtk-in-vscode-and-pycharm/10589/1 "2023-02-01T22:00:54Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![dgobbi](https://discourse.vtk.org/user_avatar/discourse.vtk.org/dgobbi/32/18_2.png) [@dgobbi](https://discourse.vtk.org/u/dgobbi)
#### Post date: [February 2, 2023, 2:55am UTC](https://discourse.vtk.org/t/autocomplete-issue-with-vtk-in-vscode-and-pycharm/10589/2 "2023-02-02T02:55:06Z")

</div>

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

```python
import vtkmodules.all as vtk

```

or import classes individually as follows

```python
from vtkmodules.vtkCommonCore import vtkObject

```

This might be fixed in future releases of VTK.

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [February 24, 2023, 2:38am UTC](https://discourse.vtk.org/t/autocomplete-issue-with-vtk-in-vscode-and-pycharm/10589/3 "2023-02-24T02:38:43Z")

</div>

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