[vtkusers] Unable to run vtk 7.1.1 with spyder

David Gobbi david.gobbi at gmail.com
Fri Feb 2 00:29:49 EST 2018

Hi Joseph,

Your initial settings look correct:

I added this to the PATH  C:\Program Files\VTK 7.1.1\bin (checked that it I
> in the path), and added
> PYTHONPATH = C:\Program Files\VTK 7.1.1\bin\Lib\site-packages

 The error message given by Python is misleading:

[image: Inline image 2]
Python says "No module names vtkCommonCorePython" if any of the dlls needed
by vtkCommonCorePython.pyd are missing.  So, yeah, it's misleading.  It's
one of those kinds of error messages that gives almost no information about
what went wrong or how to fix the problem.

You've set the PATH correctly (as noted above) so I'm pretty sure that all
the VTK DLLs are being found.  But it is possible that the VTK dlls, in
turn, need some other DLLs that aren't on your system.

When I've seen problems like this in the past, the missing DLLs usually
turn out to be the Microsoft C/C++ runtime DLLs (the MSVCR and MSVCP DLLs).

Try installing the Visual Studio 2013 Redistributable package from
Microsoft, it will add these DLLs to your system:

If that doesn't work, you can use a tool like dependency walker
(depends.exe) to find out what DLLs are missing.

 - David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180201/96c78392/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 40592 bytes
Desc: not available
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180201/96c78392/attachment.png>

More information about the vtkusers mailing list