I can't build the mayavi. This is what i've did:

sage -i mayavi-linux_2.0.20080106.spkg

It start compiling, but it breaks some time later. This is the error:

==============================================================================
Building directory: enthought.util_2.0.1b2

Executing: /opt/sage/local/bin/python setup.py release build bdist_egg
-d /opt/sage/spkg/build/mayavi-linux_2.0.20080106/mayavi_build/dist

==============================================================================
Building directory: ets_2.6.0b1

Executing: /opt/sage/local/bin/python setup.py release build bdist_egg
-d /opt/sage/spkg/build/mayavi-linux_2.0.20080106/mayavi_build/dist

WARNING: Could not build egg.info files: No module named enstaller.egg
Processing enthought.mayavi_2.0.2a1
Running setup.py -q bdist_egg --dist-dir /opt/sage/spkg/build/mayavi-
linux_2.0.20080106/mayavi_build/enthought.mayavi_2.0.2a1/egg-dist-tmp-
qHx2Jr
enthought.mayavi 2.0.2a1.dev-r15239 is already the active version in
easy-install.pth
Installing mayavi2 script to /opt/sage/local/bin

Installed /opt/sage/local/lib/python2.5/site-packages/
enthought.mayavi-2.0.2a1.dev_r15239-py2.5.egg
Processing dependencies for enthought.mayavi==2.0.2a1.dev-r15239
Searching for enthought.tvtk[plugin,wx]>=2.0.0b2.dev,<3.0a

Link to http://code.enthought.com/enstaller/eggs/source ***BLOCKED***
by --allow-hosts


Link to http://pypi.python.org/simple/enthought.tvtk/ ***BLOCKED*** by
--allow-hosts

Couldn't find index page for 'enthought.tvtk' (maybe misspelled?)
Scanning index of all packages (this may take a while)

Link to http://pypi.python.org/simple/ ***BLOCKED*** by --allow-hosts

No local packages or download links found for
enthought.tvtk[plugin,wx]>=2.0.0b2.dev,<3.0a
error: Could not find suitable distribution for
Requirement.parse('enthought.tvtk[plugin,wx]>=2.0.0b2.dev,<3.0a')

Any ideas?

Thanks
legout

On Jan 16, 5:49 pm, legout <[EMAIL PROTECTED]> wrote:
> Whats the deps  for the exerimentalmayavi-spkg?
>
> setuptools?
> vtk?
> ...?
>
> thanks so far!
>
> legout
>
> On Jan 7, 1:40 am, Jaap Spies <[EMAIL PROTECTED]> wrote:
>
> > Jaap Spies wrote:
>
> > > It works for me now in sage-2.9.2
>
> > ----------------------------------------------------------------------
> > | SAGE Version 2.9.2, Release Date: 2008-01-05                       |
> > | Type notebook() for the GUI, and license() for information.        |
> > ----------------------------------------------------------------------
>
> > sage: import IPython
>
> > sage: IPython.Shell.IPShellWX().mainloop()
>
> > sage: from enthought.mayavi.tools import mlab as M
> > Set Envisage to use the workbench UI: True
> > Set Envisage to use the workbench UI: True
>
> > sage: M.[tab]
> > M.axes                   M.__file__               M.outline                
> > M.__str__                M.test_points3d
> > M.__class__              M.flow                   M.plot3d                 
> > M.surf                   M.test_quiver3d
> > M.clf                    M.gcf                    M.points3d               
> > M.test_contour3d         M.test_quiver3d_2d_data
> > M.colorbar               M.__getattribute__       M.quiver3d               
> > M.test_contour_surf      M.test_simple_surf
> > M.contour3d              M.get_mayavi             M.__reduce__             
> > M.test_fancy_mesh        M.test_surf
> > M.contour_surf           M.__hash__               M.__reduce_ex__          
> > M.test_flow              M.title
> > M.__delattr__            M.imshow                 M.__repr__               
> > M.test_imshow            M.vectorbar
> > M.__dict__               M.__init__               M.roll                   
> > M.test_mesh              M.view
> > M.__doc__                M.mesh                   M.savefig                
> > M.test_mesh_sphere       M.xlabel
> > M.draw                   M.__name__               M.scalarbar              
> > M.test_molecule          M.ylabel
> > M.figure                 M.__new__                M.__setattr__            
> > M.test_plot3d            M.zlabel
>
> > sage: M.test_s
> > M.test_simple_surf  M.test_surf
>
> > sage: M.test_surf()
>
> > (sage.bin:15407): Gtk-CRITICAL **: gtk_widget_set_colormap: assertion 
> > `!GTK_WIDGET_REALIZED (widget)' failed
> > Warning: invalid value encountered in divide
> >    <enthought.mayavi.modules.surface.Surface object at 0xc5ed14c>
>
> > Works ok for me now!
>
> > Cheers,
>
> > Jaap
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to