# ModuleNotFoundError: No module named 'vtkCommonKitPython'

**URL:** https://discourse.vtk.org/t/modulenotfounderror-no-module-named-vtkcommonkitpython/595
**Category:** Support
**Created:** [March 22, 2019, 4:07pm UTC](https://discourse.vtk.org/t/modulenotfounderror-no-module-named-vtkcommonkitpython/595 "2019-03-22T16:07:54Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mat](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@mat](https://discourse.vtk.org/u/mat)
#### Post date: [March 22, 2019, 4:07pm UTC](https://discourse.vtk.org/t/modulenotfounderror-no-module-named-vtkcommonkitpython/595/1 "2019-03-22T16:07:54Z")

</div>

Hello all,

On a windows 7 64 bits computer, I installed pyhton 3.7.1.  
then in a command prompt I installed vtk with the command:

> pip3 install vtk

This instaled vtk correctly as far as I can tell.  
But then in python If I used the command:

> \>\>\> import vtk

I get an error ending by:

> ModuleNotFoundError: No module named ‘vtkCommonKitPython’

So obviously nothing vtk related works on that computer. Other python modules work fine.

I checked the file was present at the adress indicated, it is there, exept the python error uses a path (…)\lib(…) instead of (…)\Lib(…)

Then I tried to rediefine environment variables PATH and PYTHONPATH, but it did not solve my problem.

A couple of month ago I installed python 3.7.1 and vtk on another windows 7 64 bits computer and it worked without problem so I am a bit surprised.

I would appreciate some help / ideas.  
thank you,

---

<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: [March 25, 2019, 12:28pm UTC](https://discourse.vtk.org/t/modulenotfounderror-no-module-named-vtkcommonkitpython/595/2 "2019-03-25T12:28:27Z")

</div>

Python gives that error if the module failed to be opened too. I’d check that dependent libraries (e.g., `vtkCommonCore`) is in `PATH`. Cc: @jcfr

---

<div class="post-metadata">

### Author: ![jcfr](https://discourse.vtk.org/user_avatar/discourse.vtk.org/jcfr/32/466_2.png) [@jcfr](https://discourse.vtk.org/u/jcfr)
#### Post date: [March 25, 2019, 12:46pm UTC](https://discourse.vtk.org/t/modulenotfounderror-no-module-named-vtkcommonkitpython/595/3 "2019-03-25T12:46:30Z")

</div>

The module `vtkCommonKitPython` can be found within the wheel:

 ![image](https://discourse.vtk.org/uploads/default/original/1X/15d25639d34bc579aad8902c8f4fc54a1c4b30fb.png)

After creating a virtual env and installing `vtk` wheel using Python 64-bit, I couldn’t reproduce the problem:

 ![image](https://discourse.vtk.org/uploads/default/original/1X/1414a50179ccc5faf2f38761742c211b7c46b306.png)

![image](https://discourse.vtk.org/uploads/default/original/1X/4a678fc7c9ee2e74b5c8a1081e477d9cfacdb94d.png)

 ![image](https://discourse.vtk.org/uploads/default/original/1X/2be9d2a7e75bf249ccc039518081333e5d8d5bb2.png)
