Prabhu Ramachandran <prabhu <at> aero.iitb.ac.in> writes:

> 
> >>>>> "Christian" == Christian Kristukat <ckkart <at> hoc.net> writes:
>     >> See here:
>     >> 
>     >> http://mail.zope.org/pipermail/zope/2005-September/161352.html
> 
>     Christian> Thanks, that solved this problem. However there are
>     Christian> still some problems which might be due to the fact,
>     Christian> that the enthought package has not yet been updated to
>     Christian> numpy 1.0b and scipy 0.5. Is that guess right? The tvtk
>     Christian> package seems to depend on some old style constants
>     Christian> like Float32, ArrayType. I wasn't able to update all
>     Christian> those depdencies to the new style. I tried to build it
>     Christian> using scipy 0.3.2 but the main enthought setup.py
>     Christian> script can't handle scipy 0.3.2. As the cookbook
>     Christian> article was written for scipy 0.4.9 & numpy 0.9.8 I'll
>     Christian> try that next.
> 
> Well, I am running m2/tvtk etc. (from SVN) using numpy from svn on a
> daily basis for the last week and it runs fine.  So I am not sure why
> you are seeing the problem.  Are you using the Python Enthought
> edition?  You might want to try the SVN tree.  If you run into errors
> please also send me a copy of the traceback along with more details on
> exactly which version of ETS you are using.

I'm using the enthought svn tree on linux. If I run e.g. tvtk/examples/simple.py
with numpy 1.0b, scipy 0.5.0 I get the following:

Traceback (most recent call last):
  File "tvtk/examples/simple.py", line 14, in ?
    cs = tvtk.ConeSource(height=3.0, radius=1.0, resolution=36)
  File "tvtk_classes/tvtk_helper.py", line 447, in <lambda>
  File "tvtk_classes/tvtk_helper.py", line 33, in get_class
  File "tvtk_classes/tvtk_helper.py", line 25, in get_module
  File "tvtk_classes/cone_source.py", line 9, in ?
  File "/home/ck/prog/scipy/sci/enthought/tvtk/array_handler.py", line 27,
    in ?
    from array_ext_sp import empty_array, set_id_type_array
  File "array_ext_sp.pyx", line 26, in array_ext_sp
AttributeError: 'module' object has no attribute 'ArrayType'

Meanwhile I tried the same with numpy 0.9.8 and scipy 0.4.9 and it works. 

Unfortunately I'm now facing the wxPython 2.6.3. compatibility issue
(http://sourceforge.net/mailarchive/message.php?msg_id=15333551) which crashes
mayavi. I hoped that this had been silently gone away. 

Regards, Christian






-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to