Importing or running Mayavi issues warning about VTK/TVTK version mismatch

516 views
Skip to first unread message

Yun Li

unread,
Jul 8, 2013, 11:13:23 AM7/8/13
to spyd...@googlegroups.com
from mayavi import mlab



********************************************************************************
WARNING: Imported VTK version (5.1) does not match the one used
         to build the TVTK classes (5.6). This may cause problems.
         Please rebuild TVTK.
********************************************************************************

QAbstractItemView::setSelectionModel() failed: Trying to set a selection model, which works on a different model than the view.
QAbstractItemView::setSelectionModel() failed: Trying to set a selection model, which works on a different model than the view.
QAbstractItemView::setSelectionModel() failed: Trying to set a selection model, which works on a different model than the view.

using a 64 bit vista machine. Question is how to rebuild TVTK? Thanks for your attention!


Jed Ludlow

unread,
Jul 9, 2013, 10:15:25 AM7/9/13
to spyd...@googlegroups.com
This looks like a problem with your underlying Mayavi install rather than with Spyder itself. You have incompatible versions of VTK and TVTK. If you installed Mayavi as part of a complete Python distribution, I would start by contacting the distribution maintainers. 
Reply all
Reply to author
Forward
0 new messages