Hi Laurent! Thank you very much, I followed your advice and everything works fine now. Unfortunately I start getting some deprecation warnings and errors that were not there before, but that's only minor issues :).
Thanks again, you have been very helpful!! Best regards, Nikos On 21 Mai, 12:14, Laurent <[email protected]> wrote: > > My system: > > IBM Thinkpad X60 running Ubuntu 9.04, > > Kernel Linux 2.6.28-11-generic > > Python 2.6.2 > > SAGE Version 3.0.5, Release Date: 2008-07-11 installed with apt-get > > from the repositories (I know it's an old version, but if my problem > > is unrelated to that, I would like to avoid building from source etc.) > > I had the same : the Ubuntu package sagemath is buggy. > Go therehttp://www.sagemath.fr/linux/32bit/index.html > and download the archive for you. > > Just unpack it and > ./sage > launches Sage. > > I unpacked in ~/Sage. The following link is cool : > ln -s ~/Sage/sage /usr/bin/sage > > What is now tricky is to be able to use your own python modules in Sage > because Sage mess up $PYTHONPATH. > > My modules are in $HOME/script/modules. > What I did is to add the following in .bashrc : > > export SAGE_ROOT=$HOME/Sage > export PYTHONPATH=$SAGE_ROOT/local/lib/python/modules > export PYTHONPATH=$HOME/script/modules > export SAGE_PATH=$PYTHONPATH > > and then, I creates links to the Sage module repertory : > for f in `ls --color=never ~/script/modules/*.py`;do ln $f $PYTHONPATH;done > > I really hates to install something otherwise than via the package > manager :( > > Have a nice day > Laurent --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
