Hi,
I've been googling around to find a way to set up pydev and sage, and
have had nothing but the worst of luck.
sage 4.7 is located in /home/steven/sage-4.7, and I've created a
"sage_python" python interpreter who's location is "/home/steven/
sage-4.7/local/bin/python".
I've set the following environment variables:
SAGE_ROOT = /home/steven/sage-4.7
LD_LIBRARY_PATH = $SAGE_ROOT/local/lib
Now, when I run the following script (test.py):
[code]
#!/usr/bin/env sage -python
import sys
from sage.all import *
print 2
[/code]
When I run the script with sage_python as the interpreter I get the
following error:
Traceback (most recent call last):
File "/home/steven/code/whateva/test.py", line 4, in <module>
from sage.all import *
File "/home/steven/sage-4.7/local/lib/python2.6/site-packages/sage/
all.py", line 70, in
<module>
from sage.ext.c_lib import _init_csage, sig_on_count
ImportError: libcsage.so: cannot open shared object file: No such file
or directory
Can anyone help me out with this?
Thanks,
Steven
p.s. I've noticed this post (http://groups.google.com/group/sage-
support/browse_thread/thread/1d33ecb0830a307c), but even when I open
eclipse via
$ sage -sh
$ eclipse &
I get the same error.
--
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
URL: http://www.sagemath.org