Quoting [email protected]:
Hello!
I've noticed that 'lcalc' is available again and tried to emerge
Sage. This time it failed because of 'dev-python/sympy-0.7.1'. It
refuses to be built and gives the following error:
Compiling source
in /var/tmp/portage/dev-python/sympy-0.7.1/work/sympy-0.7.1 ...
* Building of dev-python/sympy-0.7.1 with CPython 2.7...
python2.7 setup.py build -b build-2.7
Setting permissions of DOT_SAGE directory so only you can read and
write it.
Traceback (most recent call last):
File "setup.py", line 34, in <module>
import sympy
File
"/var/tmp/portage/dev-python/sympy-0.7.1/work/sympy-0.7.1/sympy/__init__.py",
line 20, in <module> from sympy.core import *
File
"/var/tmp/portage/dev-python/sympy-0.7.1/work/sympy-0.7.1/sympy/core/__init__.py",
line 8, in <module> from expr import Expr, AtomicExpr
File
"/var/tmp/portage/dev-python/sympy-0.7.1/work/sympy-0.7.1/sympy/core/expr.py",
line 4, in <module> from evalf import EvalfMixin
File
"/var/tmp/portage/dev-python/sympy-0.7.1/work/sympy-0.7.1/sympy/core/evalf.py",
line 6, in <module> import mpmath.libmp as libmp
File
"/usr/lib64/python2.7/site-packages/mpmath/__init__.py", line 10, in
<module> mp = MPContext()
File
"/usr/lib64/python2.7/site-packages/mpmath/ctx_mp.py", line 72, in
__init__ ctx.init_builtins()
File
"/usr/lib64/python2.7/site-packages/mpmath/ctx_mp.py", line 101, in
init_builtins ctx.one = ctx.make_mpf(fone)
File "ext_main.pyx", line 493, in
sage.libs.mpmath.ext_main.Context.make_mpf
(sage/libs/mpmath/ext_main.c:6425)
File "ext_main.pyx", line 503, in
sage.libs.mpmath.ext_main.Context.make_mpf
(sage/libs/mpmath/ext_main.c:6360)
File "ext_impl.pyx", line 268, in
sage.libs.mpmath.ext_impl.MPF_set_tuple
(sage/libs/mpmath/ext_impl.c:3845)
File "integer.pyx", line 752, in
sage.rings.integer.Integer.__init__ (sage/rings/integer.c:7812)
TypeError: unable to coerce <type 'mpz'> to an integer
Hi Vladimir,
I cannot reproduce that. Which version of sage do you have currently installed
and was any component updated recently (mpmath,mpfr,gmp?).
Francois