[Python-apps-team] Bug#839802: mayavi2: Import error for mlab: No module named pyface.tvtk_scene

Bernhard Thiel bernhard1010 at hotmail.com
Wed Oct 5 06:22:22 UTC 2016


Package: mayavi2
Version: 4.4.3-2.2
Severity: normal

Dear Maintainer,

   In the mayavi2 package some files from tvtk.pyface seem to be missing (they are present at github).
   In particular, trying to import mlab gives the following traceback 

  >>> from mayavi import mlab
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "/usr/lib/python2.7/dist-packages/mayavi/mlab.py", line 27, in <module>
      from mayavi.tools.camera import view, roll, yaw, pitch, move
    File "/usr/lib/python2.7/dist-packages/mayavi/tools/camera.py", line 25, in <module>
      from engine_manager import get_engine
    File "/usr/lib/python2.7/dist-packages/mayavi/tools/engine_manager.py", line 14, in <module>
      from mayavi.core.engine import Engine
    File "/usr/lib/python2.7/dist-packages/mayavi/core/engine.py", line 28, in <module>
      from mayavi.core.base import Base
    File "/usr/lib/python2.7/dist-packages/mayavi/core/base.py", line 19, in <module>
      from tvtk.pyface.tvtk_scene import  TVTKScene
    ImportError: No module named pyface.tvtk_scene



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mayavi2 depends on:
ii  libc6                             2.24-3
ii  libjs-jquery                      1.12.4-1
ii  python                            2.7.11-2
ii  python-apptools                   4.3.0-1
ii  python-configobj                  5.0.6-2
ii  python-envisage                   4.4.0-1
ii  python-numpy [python-numpy-abi9]  1:1.11.2~rc1-1
ii  python-pkg-resources              28.0.0-1
ii  python-traits                     4.5.0-1+b2
ii  python-traitsui                   4.5.1-1
ii  python-vtk6                       6.3.0+dfsg1-1+b3
ii  python-wxgtk3.0                   3.0.2.0+dfsg-3
pn  python:any                        <none>

mayavi2 recommends no packages.

Versions of packages mayavi2 suggests:
pn  ipython       <none>
ii  python-scipy  0.18.0-1

-- no debconf information



More information about the Python-apps-team mailing list