[MacPorts] #34342: py26-mayavi: "list index out of range", "NotImplementedError: the enthought.tvtk.pyface.ui.wx. pyface backend doesn't implement DecoratedScene" errors

MacPorts noreply at macports.org
Mon May 14 08:17:50 PDT 2012


#34342: py26-mayavi: "list index out of range", "NotImplementedError: the
enthought.tvtk.pyface.ui.wx. pyface backend doesn't implement
DecoratedScene" errors
----------------------------------+-----------------------------------------
 Reporter:  mymacports@…          |       Owner:  jjstickel@…      
     Type:  defect                |      Status:  new              
 Priority:  Normal                |   Milestone:                   
Component:  ports                 |     Version:  2.0.4            
 Keywords:                        |        Port:  py26-mayavi      
----------------------------------+-----------------------------------------

Comment(by jjstickel@…):

 Replying to [comment:15 mymacports@…]:
 >
 > sudo port -v install vtk5 +carbon +python27 +qt4_mac -tcltk -x11

 Should be:
 sudo port -v install vtk5 -carbon +python27 +qt4_mac -tcltk -x11
                           ~~~~~~~
 vtk5 should not be installed with carbon.  With '-carbon -x11', cocoa will
 be used as the backend, and that is what qt4-mac uses. Also +qt4_mac is
 not needed for vtk5, but it doesn't hurt.

 >
 > sudo port -v install py27-traits  -wx +qt4

 Should be:
 sudo port -v install py27-traitsgui  -wx +qt4
                                 ~~~

 >
 > sudo port -v install py27-mayavi
 >

 Also, make sure wxwidgets and wxpython are uninstalled or at least
 deactivated and that all your ports are installed either i386 OR x86_64
 (mixing them up or universal builds can cause problems).  I am sorry you
 are having all this trouble.  Mayavi is an unruly beast and I have spent a
 lot of trial and error to get it working over the last few years.

-- 
Ticket URL: <https://trac.macports.org/ticket/34342#comment:16>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list