[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 Aug 6 20:09:40 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:  closed           
  Priority:  Normal                |   Milestone:                   
 Component:  ports                 |     Version:  2.0.4            
Resolution:  fixed                 |    Keywords:                   
      Port:  py26-mayavi           |  
-----------------------------------+----------------------------------------

Comment(by mymacports@…):

 Replying to [comment:26 ryandesign@…]:
 > r96273

 well...[[BR]]
 sudo port uninstall vtk5[[BR]]
 sudo port install vtk5 +python27[[BR]]
 sudo port install py27-mayavi[[BR]]
 mayavi2-2.7[[BR]]

 {{{
 Warning: Unable to import the wx backend for pyface due to traceback:
 Traceback (most recent call last):
           File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pyface/toolkit.py", line 45, in _init_toolkit
             be = import_toolkit(tk)
           File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pyface/toolkit.py", line 31, in import_toolkit
             __import__(be + 'init')
           File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pyface/ui/wx/init.py", line 14, in <module>
             import wx
         ImportError: No module named wx

 Traceback (most recent call last):
   File "/opt/local/bin/mayavi2-2.7", line 9, in <module>
     load_entry_point('mayavi==4.1.0', 'console_scripts', 'mayavi2')()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pkg_resources.py", line 337, in load_entry_point
     return get_distribution(dist).load_entry_point(group, name)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pkg_resources.py", line 2311, in load_entry_point
     return ep.load()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pkg_resources.py", line 2017, in load
     entry = __import__(self.module_name, globals(),globals(),
 ['__name__'])
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/mayavi/scripts/mayavi2.py", line 493, in <module>
     raise ImportError(msg)
 ImportError: No module named configobj
 ________________________________________________________________________________
 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.
 }}}

 port installed *envi* gives:[[BR]]
 The following ports are currently installed:[[BR]]
   py26-envisagecore @3.2.0_0 (active)[[BR]]
   py27-envisage @4.1.0_0 (active)[[BR]]

 port installed *traits* gives:[[BR]]
 The following ports are currently installed:[[BR]]
   py26-traits @3.6.0_0 (active)[[BR]]
   py27-traits @4.1.0_0 (active)[[BR]]
   py27-traitsui @4.1.0_0 (active)[[BR]]


 ... any hints, plese?

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


More information about the macports-tickets mailing list