Carl Witty wrote: > On Jan 16, 9:11 am, Jaap Spies <[EMAIL PROTECTED]> wrote: >> legout wrote: >>> Whats the deps for the exerimental mayavi-spkg? >>> setuptools? >>> vtk? >>> ...? >>> thanks so far! >> Have a look at: >> >> http://sage.math.washington.edu/home/jsp/SPKGS/MayaVi2/ >> >> Especially the README.txt for the ets spkg. For the mayavi2 package >> you don't need swig and PIL. >> >> > wxPython + >> > setuptools + >> > vtk + >> > swig - >> > pyrex + >> > PIL - >> >> Jaap > > Actually, I think I managed to install mayavi2 without installing > pyrex. >
Maybe, but do you have a system wide pyrex? > Now that I've installed it, what can I do? (At least, what are some > tests I can run to see if it actually works?) > This is rather complicated because we need IPython to run with -wxthread option enabled. See http://sagetrac.org/sage_trac/ticket/1748 Do ./sage -sh to get a shell in the "right" environment, create a file "start_up" or something (Fernando Perez): >> The solution is to have Sage start ipython with the wthread option, if >> you want full Sage support. As a starter, you can test this. Make a >> little file that's simply >> >> #!/path/to/sage/python >> import IPython >> IPython.Shell.IPShellWX().mainloop() make this file executable, run it and you are in business: 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. M.axes M.points3d M.test_plot3d M.clf M.quiver3d M.test_points3d M.colorbar M.roll M.test_quiver3d M.contour3d M.savefig M.test_quiver3d_2d_data M.contour_surf M.scalarbar M.test_simple_surf M.draw M.surf M.test_surf M.figure M.test_contour3d M.title M.flow M.test_contour_surf M.vectorbar M.gcf M.test_fancy_mesh M.view M.get_mayavi M.test_flow M.xlabel M.imshow M.test_imshow M.ylabel M.mesh M.test_mesh M.zlabel M.outline M.test_mesh_sphere M.plot3d M.test_molecule Try the M.test_*() functions, see my webalbum: http://picasaweb.google.nl/j.spies88/Mayavi2FromSage Or run mayavi2 as a stand alone program from this shell. 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/ -~----------~----~----~----~------~----~------~--~---