I have installed Sage4.5 binaries onto my 64bit Ubuntu10.04LTS,
following the instructions given: https://help.ubuntu.com/community/SAGE.
I am going to be using it for development, but when I rebuild sage
using $sage -b I get the following error:
$ sage
----------------------------------------------------------------------
| Sage Version 4.5, Release Date: 2010-07-16 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
---------------------------------------------------------------------------
ImportError Traceback (most recent call
last)
/opt/sage-4.5-linux-64bit-ubuntu_10.04_lts-x86_64-Linux/local/bin/
<string> in <module>()
/opt/sage-4.5-linux-64bit-ubuntu_10.04_lts-x86_64-Linux/local/lib/
python2.6/site-packages/sage/misc/preparser_ipython.py in <module>()
6
###########################################################################
7
----> 8 import sage.misc.interpreter
9
10 import preparser
/opt/sage-4.5-linux-64bit-ubuntu_10.04_lts-x86_64-Linux/local/lib/
python2.6/site-packages/sage/misc/interpreter.py in <module>()
100
101 import os
--> 102 import log
103
104 import remote_file
/opt/sage-4.5-linux-64bit-ubuntu_10.04_lts-x86_64-Linux/local/lib/
python2.6/site-packages/sage/misc/log.py in <module>()
63
64 import interpreter
---> 65 import latex
66 import misc
67
/opt/sage-4.5-linux-64bit-ubuntu_10.04_lts-x86_64-Linux/local/lib/
python2.6/site-packages/sage/misc/latex.py in <module>()
38 import random
39
---> 40 from misc import tmp_dir, graphics_filename
41 import sage_eval
42 from sage.misc.misc import SAGE_DOC
/opt/sage-4.5-linux-64bit-ubuntu_10.04_lts-x86_64-Linux/local/lib/
python2.6/site-packages/sage/misc/misc.py in <module>()
36
37 import operator, os, stat, socket, sys, signal, time, weakref,
resource, math
---> 38 import sage.misc.prandom as random
39
40 from banner import version, banner
/opt/sage-4.5-linux-64bit-ubuntu_10.04_lts-x86_64-Linux/local/lib/
python2.6/site-packages/sage/misc/prandom.py in <module>()
54 # setting seeds should only be done through
sage.misc.randstate .
55
---> 56 from sage.misc.randstate import current_randstate
57
58 def _pyrand():
ImportError: libcsage.so: cannot open shared object file: No such file
or directory
WARNING: Failure executing code: 'import sage.misc.preparser_ipython;
sage.misc.preparser_ipython.magma_colon_equals=True'
---------------------------------------------------------------------------
ImportError Traceback (most recent call
last)
/opt/sage-4.5-linux-64bit-ubuntu_10.04_lts-x86_64-Linux/local/lib/
python2.6/site-packages/IPython/ipmaker.pyc in force_import(modname)
64 reload(sys.modules[modname])
65 else:
---> 66 __import__(modname)
67
68
/opt/sage-4.5-linux-64bit-ubuntu_10.04_lts-x86_64-Linux/local/bin/
ipy_profile_sage.py in <module>()
1 import os
2 if 'SAGE_CLEAN' not in os.environ:
----> 3 import sage.misc.misc
4 from sage.misc.interpreter import preparser, _ip
5 preparser(True)
/opt/sage-4.5-linux-64bit-ubuntu_10.04_lts-x86_64-Linux/local/lib/
python2.6/site-packages/sage/misc/misc.py in <module>()
36
37 import operator, os, stat, socket, sys, signal, time, weakref,
resource, math
---> 38 import sage.misc.prandom as random
39
40 from banner import version, banner
/opt/sage-4.5-linux-64bit-ubuntu_10.04_lts-x86_64-Linux/local/lib/
python2.6/site-packages/sage/misc/prandom.py in <module>()
54 # setting seeds should only be done through
sage.misc.randstate .
55
---> 56 from sage.misc.randstate import current_randstate
57
58 def _pyrand():
ImportError: libcsage.so: cannot open shared object file: No such file
or directory
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.
<ERROR: name 'sage_prompt' is not defined>
I ran into this as soon as I tried creating a sandbox I could start
modifying code in and basically got exactly the same error and found
that after re-extracting the binaries that the same thing occurs
whenever I try to build.
Any help in order to be able to avoid this happening so I can start
developing would be appreciated.
Thanks,
-Daniel
--
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