enthought / enthought/mayavi

Error in importing mlab

Open
#445 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.4k
Forks
316
Avg merge
7h 44m
Merged PRs (30d)
5

Description

After installing all the requirements, I cloned the repo and ran the install script.
It went through the installation. I can import the mayavi package in python but I can not import the mlab from within the mayavi package. It complains about not finding the `pyface.tvtk_scence`.

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.