Error: ModuleNotFoundError: No module named 'vtkmodules'

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

@jcfr Is this familiar to you?

1 Like

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

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

1 Like