I am trying to upgrade SAGE from 4.7.2 to 4.8 in my dept server by
simply running
./sage --upgrade
but ran into the following error:
---------------------------------------------------------------------------------------------------------------------------------------------------------------
sage/matrix/matrix_cyclo_dense.pyx --> /opt/sage-current/local/lib/
python2.6/site-packages//sage/matrix/matrix_cyclo_dense.pyx
python `which cython` --disable-function-redefinition --embed-
positions --directive
cdivision=True,autotestdict=False,fast_getattr=True -I/opt/sage-
current/devel/sage-main -o sage/matrix/matrix_dense.c sage/matrix/
matrix_dense.pyx
Error compiling Cython file:
------------------------------------------------------------
...
# allow lambda functions
if self._nrows==0 or self._ncols==0:
return self.__copy__()
v = [z.derivative(var) for z in self.list()]
if R is None:
^
------------------------------------------------------------
sage/matrix/matrix_dense.pyx:428:13: local variable 'R' referenced
before assignment
Error running command, failed with status 256.
sage: There was an error installing modified sage library code.
--------------------------------------------------------------------------------------------------------------------------------------------------------
There is a bunch of warnings about variables being referenced before
assignment earlier but did not cause a crash.
Any idea on how to fix this?
--
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