Hi,
I'm trying to upgrade from Sage 5.4 rc0 to rc2.
A lot of stuff compiled fine, but then the installation failed when
building documentation. In particular, when I try to build it I get some
errors like this one:
andrea@farore:~/Scrivania/sage$ ./sage --docbuild --help
Traceback (most recent call last):
File "/home/andrea/Scrivania/sage/devel/sage/doc/common/builder.py", line
12, in <module>
from sage.misc.misc import sage_makedirs as mkdir
File
"/home/andrea/Scrivania/sage/local/lib/python2.7/site-packages/sage/misc/misc.py",
line 144
<<<<<<< local
^
SyntaxError: invalid syntax
andrea@farore:~/Scrivania/sage$
Also, the interactive session fails with this kind of error:
[...]
/home/andrea/Scrivania/sage/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)
SyntaxError: invalid syntax (misc.py, line 144)
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.
<ERROR: name 'sage_prompt' is not defined>
Is there a way to fix it? Or do I have to download and re-compile the
installation tarball from scratch?
Thank you!
Best regards,
--
*Andrea Lazzarotto* - http://andrealazzarotto.com*
*
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
Visit this group at http://groups.google.com/group/sage-devel?hl=en.