To actually do some coding it would be nice to have some sort of IDE
on my ubuntu machine. So I first gave emacs sage-mode a try, installed
it according to wiki (http://wiki.sagemath.org/sage-mode) using the
output form the install script to set up ~/.emacs.

Code Highlighting works.. but Ctrl-c Ctrl-c offers me
"Wrong type argument: stringp, t"

Guess that's what the wiki meant by "might fail miserably". Moreover
my entire python-mode is broken afterwards (all Ctrl-c related
commands beeing unknown or broken gving the same error) and only a
revert of the ~/.emacs file (in my case deletion) fixes it.

----

So I gave eclipse-pydev a try.. But if I write e.g.

from sage.all import *
text("Sage is really neat!!",(2,12)).show()

I get "ImportError: No module named sage.all", which is easily fixed
by importing "$SAGE_ROOT/devel/sage-main/" to the
project>properties>external source folders

But then I get 2 times:
"raise RuntimeError, "To use the SAGE libraries, set the environment
variable SAGE_ROOT to the SAGE build directory and LD_LIBRARY_PATH to
$SAGE_ROOT/local/lib"

my "/etc/environment" reads

'PATH=".. : ../sage-3.2.3-ubuntu-32bit-intel_xeon-i686-Linux/"
SAGE_ROOT = ".../sage-3.2.3-ubuntu-32bit-intel_xeon-i686-Linux/"
LD_LIBRARY_PATH = ".../sage-3.2.3-ubuntu-32bit-intel_xeon-i686-Linux/
local/lib'

though.. Am I not getting something right here?

Same errors with just "python test.sage". Best thing would probably be
using sage as a pydev-interpreter, but that it seems to fail some
interpreter tests they require..

What IDE to use then?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to