From your previous e-mails, I assume you have mayavi 3.3.0. For this, the
from enthought.traits.api ...
branch of imports in sfepy/postprocess/viewer.py should be used. But it somehow fails and the
from traits.api ...
branch is used instead, which obviously fails as well as it is for mayavi >= 4.0.0. So to debug this, I would need to know why any of the "from enthought..." imports fails
BTW. does
$ ./isfepy --no-viewer
work for you?
r.
On 04/18/2012 07:04 PM, Robert Cimrman wrote:
Hi,
I cannot test it right now, but it seems something is wrong with mayavi installation. In regular ipython, is it possible to import mayavi and traits?
r.
----- Reply message ----- From: "kassbohm"kass...@gmail.com To: "sfepy-devel"sfepy...@googlegroups.com Subject: isfepy currently doesn't work Date: Wed, Apr 18, 2012 17:35
Hi, with the latest git-resource:
$ ./isfepy Traceback (most recent call last): File "./isfepy", line 102, in<module> main() File "./isfepy", line 99, in main init_session(ipython, **args) File "/home/kassbohm/SFePy_Install/sfepy/sfepy/interactive/ session.py", line 225, in init_session ip = _init_ipython_session(is_wx, _preexec_source, argv) File "/home/kassbohm/SFePy_Install/sfepy/sfepy/interactive/ session.py", line 131, in _init_ipython_session exec source in aux File "<string>", line 10, in<module> File "/home/kassbohm/SFePy_Install/sfepy/sfepy/postprocess/ __init__.py", line 1, in<module> from viewer import Viewer, ViewerGUI File "/home/kassbohm/SFePy_Install/sfepy/sfepy/postprocess/ viewer.py", line 17, in<module> from traits.api
ImportError: No module named traits.apiWhat can I do to solve this one?