Well, you should probably install the whole enthought tool suite to run that example. That is what I install.
Its called ets on gentoo...
r.
----- Reply message -----
From: "Peter M. Clausen" <petermic...@googlemail.com>
To: <sfep...@googlegroups.com>
Subject: time for 2011.1...
Date: Sat, Mar 12, 2011 21:30
Hi
OK, I was missing enthought.traits but now I get:
clausen@pmc-server1:/data/opt/sfepy/sfepy-release-2011.1_beta/sfepy$
python examples/standalone/interactive/linear_elasticity.py
Traceback (most recent call last):
File "examples/standalone/interactive/linear_elasticity.py", line
12, in <module>
from sfepy.postprocess import Viewer
File "/data/opt/sfepy/sfepy-release-2010.4/lib/python2.6/site-packages/sfepy/postprocess/__init__.py",
line 1, in <module>
from viewer import Viewer, ViewerGUI
File "/data/opt/sfepy/sfepy-release-2010.4/lib/python2.6/site-packages/sfepy/postprocess/viewer.py",
line 8, in <module>
from enthought.tvtk.pyface.scene_editor import SceneEditor
ImportError: No module named tvtk.pyface.scene_editor
What am I missing?
Cheers
Peter
2011/3/12 osman <o...@fuse.net>:
> On Sat, 2011-03-12 at 01:50 -0500, Logan Sorenson wrote:
>> Hi All,
>>
>> I see the same thing over here. Running the linear_elasticity example produces:
>>
>> logan@quantumdot:~/projects/sfepy/sfepy_rc$ python
>> examples/standalone/interactive/linear_elasticity.py
>> Traceback (most recent call last):
>> File "examples/standalone/interactive/linear_elasticity.py", line 5,
>> in <module>
>> from sfepy.base.base import IndexedStruct
>> ImportError: No module named sfepy.base.base
>>
>> Based on some the other code in examples/standalone, I think the
>> linear_elasticity.py needs the following lines:
>>
>> import sys
>> sys.path.append('.')
>>
>> After that, the test_install.py script finishes.
>>
>> However, I get a mismatch for the schroedinger hydrogen example:
>>
>> ./schroedinger.py --2d --hydrogen
>> comparing: (8.73e-04% -0.01984415
>> ! ...: False
>>
>> I'll look more into it and report back.
>>
>> HTH!
>> Logan
>
> Thanks Logan. That solved the problem on my machine too.
>
> Osman
>
> --
> You received this message because you are subscribed to the Google Groups "sfepy-devel" group.
> To post to this group, send email to sfepy...@googlegroups.com.
> To unsubscribe from this group, send email to sfepy-devel...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.
>
>
--
--
You received this message because you are subscribed to the Google Groups "sfepy-devel" group.
To post to this group, send email to sfepy...@googlegroups.com.
To unsubscribe from this group, send email to sfepy-devel...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.