[Python-apps-team] Bug#620951: mayavi2: Using module mayavi.mlab in python does not work

Dietrich Brunn Dietrich.Brunn at web.de
Tue Apr 5 09:27:30 UTC 2011

Package: mayavi2
Version: 3.4.0-2
Severity: normal

typing in python2.6 "import enthought.mayavi.mlab" fails with the error:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.6/dist-packages/enthought/mayavi/mlab.py", line 32, in <module>
    from enthought.mayavi.tools.show import show
  File "/usr/lib/python2.6/dist-packages/enthought/mayavi/tools/show.py", line 9, in <module>
    from enthought.util import guisupport
ImportError: cannot import name guisupport

The file "guisupport.py" is in the package python-enthoughtbase 3.0.6-1 (experimental) but interestingely not in
version 3.0.5-2 (unstable). Installing the experimental version of python-enthoughtbase fixed the problem.

Cheers, dietrich

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mayavi2 depends on:
ii  libc6                      2.11.2-13     Embedded GNU C Library: Shared lib
ii  libjs-jquery               1.5.1-1       JavaScript library for dynamic web
ii  python                     2.6.6-12      interactive high-level object-orie
ii  python-apptools            3.3.2-1       ETS Application Tools
ii  python-central             0.6.16+nmu1   register and build utility for Pyt
ii  python-configobj           4.7.2+ds-2    simple but powerful config file re
ii  python-envisagecore        3.1.2-1       Extensible Application Framework
ii  python-envisageplugins     3.1.2-1       Plugins for the Envisage framework
ii  python-numpy               1:1.4.1-5     Numerical Python adds a fast array
ii  python-pkg-resources       0.6.15-1      Package Discovery and Resource Acc
ii  python-traits              3.4.0-2       Manifest typing and reactive progr
ii  python-traitsgui           3.4.0-1       Traits-capable windowing framework
ii  python-vtk                 5.6.1-4       Python bindings for VTK
ii  python-wxgtk2.8   wxWidgets Cross-platform C++ GUI t
ii  python2.6                  2.6.6-8+b1    An interactive high-level object-o

mayavi2 recommends no packages.

Versions of packages mayavi2 suggests:
ii  ipython                    0.10.1-1      enhanced interactive Python shell
ii  python-scipy               0.7.2+dfsg1-1 scientific tools for Python

-- no debconf information
Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die
Toolbar eingebaut! http://produkte.web.de/go/toolbar

More information about the Python-apps-team mailing list