# Error: ModuleNotFoundError: No module named 'vtkmodules'

**URL:** https://discourse.vtk.org/t/error-modulenotfounderror-no-module-named-vtkmodules/4515
**Category:** Support
**Created:** [October 29, 2020, 4:16am UTC](https://discourse.vtk.org/t/error-modulenotfounderror-no-module-named-vtkmodules/4515 "2020-10-29T04:16:53Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![gautam\_kumar\_singh](https://discourse.vtk.org/user_avatar/discourse.vtk.org/gautam_kumar_singh/32/2188_2.png) [@gautam\_kumar\_singh](https://discourse.vtk.org/u/gautam_kumar_singh)
#### Post date: [October 29, 2020, 4:16am UTC](https://discourse.vtk.org/t/error-modulenotfounderror-no-module-named-vtkmodules/4515/1 "2020-10-29T04:16:53Z")

</div>

Hi @danlipsa  
My script is working fine from Mac/Windows Terminal.  
I am able to make exe file using pyinstaller but when i try to run exe file i am getting errors:  
_emphasized text_  
(py37) C:\Users\User\Desktop\Project\Simple\dist\LaunchSlicer\>LaunchSlicer.exe  
Traceback (most recent call last):  
File “LaunchSlicer.py”, line 7, in   
File “C:\Users\User\anaconda3\envs\py37\lib\site-packages\PyInstaller\loader\pyimod03\_importers.py”, line 493, in exec\_module  
exec(bytecode, module. **dict** )  
File “vtk.py”, line 30, in   
File “importlib\util.py”, line 94, in find\_spec  
ModuleNotFoundError: No module named ‘vtkmodules’  
[288] Failed to execute script LaunchSlicer

---

<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: [October 29, 2020, 11:09am UTC](https://discourse.vtk.org/t/error-modulenotfounderror-no-module-named-vtkmodules/4515/2 "2020-10-29T11:09:40Z")

</div>

@jcfr Is this familiar to you?

---

<div class="post-metadata">

### Author: ![gautam\_kumar\_singh](https://discourse.vtk.org/user_avatar/discourse.vtk.org/gautam_kumar_singh/32/2188_2.png) [@gautam\_kumar\_singh](https://discourse.vtk.org/u/gautam_kumar_singh)
#### Post date: [November 11, 2020, 3:41pm UTC](https://discourse.vtk.org/t/error-modulenotfounderror-no-module-named-vtkmodules/4515/3 "2020-11-11T15:41:59Z")

</div>

@jcfr @ben.boeckel @danlipsa  
Any findings on above bug

---

<div class="post-metadata">

### Author: ![silverthorn](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/s/a4c791/32.png) [@silverthorn](https://discourse.vtk.org/u/silverthorn)
#### Post date: [November 20, 2020, 11:49am UTC](https://discourse.vtk.org/t/error-modulenotfounderror-no-module-named-vtkmodules/4515/4 "2020-11-20T11:49:01Z")

</div>

Hi all - has anyone got any ideas on this as I am seeing exactly the same error ?
