msafiri wrote: > Hello everyone, > > I'm using SAGE to analyze the brain's vasculature. The vessel network > is stored as a networkX graph and I would like to plot this graph from > the SAGE command line (or notebook) using Paraview (http:// > www.paraview.org). > I use OS X Leopard and I have the latest versions of both SAGE and > Paraview, versions 3.2.3 and 3.4.0 respectively. > > What I have tried so far: > Both the sage folder and paraview.app reside in /Applications > From the SAGE command line set PYTHONPATH: > sage: sys.path.append('/Applications/paraview.app/Contents/MacOS') > sage: sys.path.append('/Applications/paraview.app/Contents/Resources/ > paraview) > In bash .profile set DYLD_LIBRARY_PATH to /Applications/paraview.app/ > Contents/MacOS > sage: import servermanager as sm > fails with a fatal error, presumably because SAGE and Paraview use > different versions of python. > > Has anyone successfully made the two softwares work together and can > give me some hints? > Any help is greatly appreciated, > Johannes
A first step could be to install paraview3 in the sage environment. You need cmake, so eventually install the experimental cmake-2.4.8.spkg: ./sage -i cmake-2.4.8.spkg then do a ./sage -sh and follow the instructions on http://paraview.org/Wiki/ParaView:Build_And_Install to build and install paraview within Sage. Can't check this because I don't have a mac. Jaap --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---