Starting 'mayavi2' fails with: rose@impala:/home_impala/rose(19)$ mayavi2 Traceback (most recent call last): File "/usr/bin/mayavi2", line 9, in <module> load_entry_point('mayavi==4.2.0', 'console_scripts', 'mayavi2')() File "/usr/lib64/python2.7/site-packages/pkg_resources.py", line 344, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib64/python2.7/site-packages/pkg_resources.py", line 2307, in load_entry_point return ep.load() File "/usr/lib64/python2.7/site-packages/pkg_resources.py", line 2013, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "/usr/lib64/python2.7/site-packages/mayavi/scripts/mayavi2.py", line 493, in <module> raise ImportError(msg) ImportError: TVTK not built properly. Unable to find either a directory: /usr/lib64/python2.7/site-packages/tvtk/tvtk_classes or a file: /usr/lib64/python2.7/site-packages/tvtk/tvtk_classes.zip with the TVTK classes. ________________________________________________________________________________ Could not load envisage. You might have a missing dependency. Do you have the EnvisageCore and EnvisagePlugins installed? If you installed Mayavi with easy_install, try 'easy_install <pkg_name>'. 'easy_install Mayavi[app]' will also work. If you performed a source checkout and installed via 'python setup.py develop', be sure to run the same command in the EnvisageCore and EnvisagePlugins folders. If these packages appear to be installed, check that your numpy and configobj are installed and working. If you need numpy, 'easy_install numpy' will install numpy. Similarly, 'easy_install configobj' will install configobj. Running 'python-updater' and 'revdep-rebuild; did not help.
Reemerging envisage and mayavi did not help either. I did not have a directory: /usr/lib64/python2.7/site-packages/tvtk/tvtk_classes or a file: /usr/lib64/python2.7/site-packages/tvtk/tvtk_classes.zip: root@impala:/usr/src(61)# ll /usr/lib64/python2.7/site-packages/tvtk/ total 348 -rw-r--r-- 1 root root 365 Dec 22 2011 api.py -rw-r--r-- 1 root root 387 Dec 15 19:22 api.pyc -rwxr-xr-x 1 root root 29176 Mar 2 16:19 array_ext.so* -rw-r--r-- 1 root root 26977 Dec 22 2011 array_handler.py -rw-r--r-- 1 root root 8011 Dec 22 2011 class_tree.py -rw-r--r-- 1 root root 8207 May 17 2012 code_gen.py -rw-r--r-- 1 root root 2104 Dec 22 2011 common.py -rw-r--r-- 1 root root 2562 Dec 15 19:22 common.pyc drwxr-xr-x 2 root root 4096 Mar 2 16:19 custom/ -rw-r--r-- 1 root root 8570 Dec 22 2011 indenter.py -rw-r--r-- 1 root root 1169 Dec 22 2011 __init__.py -rw-r--r-- 1 root root 608 Dec 15 19:22 __init__.pyc -rw-r--r-- 1 root root 10137 Dec 22 2011 messenger.py -rw-r--r-- 1 root root 9463 Dec 15 19:22 messenger.pyc -rw-r--r-- 1 root root 2049 Dec 22 2011 misc.py -rw-r--r-- 1 root root 1917 Dec 15 19:22 misc.pyc drwxr-xr-x 3 root root 4096 Mar 2 16:19 pipeline/ drwxr-xr-x 4 root root 4096 Mar 2 16:19 plugins/ drwxr-xr-x 4 root root 4096 Mar 2 16:19 pyface/ -rw-r--r-- 1 root root 2554 Dec 22 2011 setup.py -rw-r--r-- 1 root root 18606 Dec 22 2011 special_gen.py drwxr-xr-x 2 root root 4096 Mar 2 16:19 tests/ drwxr-xr-x 3 root root 4096 Mar 2 16:19 tools/ -rw-r--r-- 1 root root 2282 Dec 22 2011 tvtk_access.py -rw-r--r-- 1 root root 1598 Dec 15 19:22 tvtk_access.pyc -rw-r--r-- 1 root root 3816 Dec 22 2011 tvtk_base_handler.py -rw-r--r-- 1 root root 18268 Dec 22 2011 tvtk_base.py -rw-r--r-- 1 root root 15281 Dec 15 19:22 tvtk_base.pyc drwxr-xr-x 2 root root 4096 Mar 2 16:19 util/ -rw-r--r-- 1 root root 314 Dec 22 2011 version.py -rw-r--r-- 1 root root 267 Dec 15 19:22 version.pyc drwxr-xr-x 2 root root 4096 Mar 2 16:19 view/ -rw-r--r-- 1 root root 598 Dec 22 2011 vtk_module.py -rw-r--r-- 1 root root 25498 Dec 22 2011 vtk_parser.py -rw-r--r-- 1 root root 52120 Dec 22 2011 wrapper_gen.py And tvtk_classes does not belong to mayavi: root@impala:/usr/src(63)# qlist mayavi | grep tvtk_classes root@impala:/usr/src(64)#
It might be related to bug 500104. Could you please test the latest version 4.5.0 in tree?