[vtkusers] Version mismatch in Python bindings?
David E DeMarle
dave.demarle at kitware.com
Thu Dec 15 14:28:14 EST 2016
I think you are getting a different VTK module. What does vtk.__file__
The standalone installer by default puts VTK at c:\Program Files\VTK 7.1.0,
and you generally are expected to run it from there. Ie, the version
Kitware supplies is generally incompatible with whatever system install of
Python you might have.
David E DeMarle
21 Corporate Drive
Clifton Park, NY 12065-8662
On Wed, Dec 7, 2016 at 10:57 AM, Andrea Gavana <andrea.gavana at gmail.com>
> Dear VTK users,
> I have downloaded the official VTK 7.1 binaries with Python bindings
> from the VTK website, at this address:
> Notice the 7.1 in the name. This is the only installation of VTK I have on
> my machine. Also, from the attached screenshot, please notice that the DLLs
> on my system have a "7.1" label attached.
> However, when I import vtk in my system I get this:
> >>> import vtk
> >>> vtk
> <module 'vtk' from 'C:\Python27\lib\site-packages\vtk\__init__.pyc'>
> >>> version = vtk.vtkVersion()
> >>> version.GetVTKVersion()
> >>> version.GetVTKMajorVersion(), version.GetVTKMinorVersion()
> (7, 0)
> >>> version.GetVTKSourceVersion()
> 'vtk version 7.0.0'
> Am I doing something wrong or is it possible that there is a version
> mismatch in the Python bindings? It's of course not an issue, I just wanted
> to check if my setup was broken or not...
> Thank you.
> Powered by www.kitware.com
> Visit other Kitware open-source projects at http://www.kitware.com/
> Please keep messages on-topic and check the VTK FAQ at:
> Search the list archives at: http://markmail.org/search/?q=vtkusers
> Follow this link to subscribe/unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers