<div dir="ltr"><div>I think you are getting a different VTK module. What does vtk.__file__ return?<br><br>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.<br><br><br><br></div><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div></div>
<br><div class="gmail_quote">On Wed, Dec 7, 2016 at 10:57 AM, Andrea Gavana <span dir="ltr"><<a href="mailto:andrea.gavana@gmail.com" target="_blank">andrea.gavana@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear VTK users,<div><br></div><div> I have downloaded the official VTK 7.1 binaries with Python bindings from the VTK website, at this address:</div><div><br></div><div><a href="http://www.vtk.org/files/release/7.1/vtkpython-7.1.0-Windows-64bit.exe" target="_blank">http://www.vtk.org/files/<wbr>release/7.1/vtkpython-7.1.0-<wbr>Windows-64bit.exe</a><br></div><div><br></div><div>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.</div><div><br></div><div>However, when I import vtk in my system I get this:</div><div><br></div><div><div><font face="monospace, monospace">>>> import vtk</font></div><div><font face="monospace, monospace">>>> vtk</font></div><div><font face="monospace, monospace"><module 'vtk' from 'C:\Python27\lib\site-<wbr>packages\vtk\__init__.pyc'></font></div><div><font face="monospace, monospace">>>> version = vtk.vtkVersion()</font></div><div><font face="monospace, monospace">>>> version.GetVTKVersion()</font></div><div><font face="monospace, monospace">'7.0.0'</font></div><div><font face="monospace, monospace">>>> version.GetVTKMajorVersion(), version.GetVTKMinorVersion()</font></div><div><font face="monospace, monospace">(7, 0)</font></div><div><font face="monospace, monospace">>>> version.GetVTKSourceVersion()</font></div><div><font face="monospace, monospace">'vtk version 7.0.0'</font></div><div><font face="monospace, monospace">>>> </font></div></div><div><br></div><div><br></div><div>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...</div><div><br></div><div>Thank you.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Andrea.</div><div><br></div><div><br></div></font></span></div>
<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>