1 |
Quoting v_2e@×××.net: |
2 |
|
3 |
> Hello! |
4 |
> I've noticed that 'lcalc' is available again and tried to emerge |
5 |
> Sage. This time it failed because of 'dev-python/sympy-0.7.1'. It |
6 |
> refuses to be built and gives the following error: |
7 |
> |
8 |
> |
9 |
>>>> Compiling source |
10 |
>>>> in /var/tmp/portage/dev-python/sympy-0.7.1/work/sympy-0.7.1 ... |
11 |
> * Building of dev-python/sympy-0.7.1 with CPython 2.7... |
12 |
> python2.7 setup.py build -b build-2.7 |
13 |
> Setting permissions of DOT_SAGE directory so only you can read and |
14 |
> write it. |
15 |
> Traceback (most recent call last): |
16 |
> File "setup.py", line 34, in <module> |
17 |
> import sympy |
18 |
> File |
19 |
> "/var/tmp/portage/dev-python/sympy-0.7.1/work/sympy-0.7.1/sympy/__init__.py", |
20 |
> line 20, in <module> from sympy.core import * |
21 |
> File |
22 |
> "/var/tmp/portage/dev-python/sympy-0.7.1/work/sympy-0.7.1/sympy/core/__init__.py", |
23 |
> line 8, in <module> from expr import Expr, AtomicExpr |
24 |
> File |
25 |
> "/var/tmp/portage/dev-python/sympy-0.7.1/work/sympy-0.7.1/sympy/core/expr.py", |
26 |
> line 4, in <module> from evalf import EvalfMixin |
27 |
> File |
28 |
> "/var/tmp/portage/dev-python/sympy-0.7.1/work/sympy-0.7.1/sympy/core/evalf.py", |
29 |
> line 6, in <module> import mpmath.libmp as libmp |
30 |
> File |
31 |
> "/usr/lib64/python2.7/site-packages/mpmath/__init__.py", line 10, in |
32 |
> <module> mp = MPContext() |
33 |
> File |
34 |
> "/usr/lib64/python2.7/site-packages/mpmath/ctx_mp.py", line 72, in |
35 |
> __init__ ctx.init_builtins() |
36 |
> File |
37 |
> "/usr/lib64/python2.7/site-packages/mpmath/ctx_mp.py", line 101, in |
38 |
> init_builtins ctx.one = ctx.make_mpf(fone) |
39 |
> File "ext_main.pyx", line 493, in |
40 |
> sage.libs.mpmath.ext_main.Context.make_mpf |
41 |
> (sage/libs/mpmath/ext_main.c:6425) |
42 |
> File "ext_main.pyx", line 503, in |
43 |
> sage.libs.mpmath.ext_main.Context.make_mpf |
44 |
> (sage/libs/mpmath/ext_main.c:6360) |
45 |
> File "ext_impl.pyx", line 268, in |
46 |
> sage.libs.mpmath.ext_impl.MPF_set_tuple |
47 |
> (sage/libs/mpmath/ext_impl.c:3845) |
48 |
> File "integer.pyx", line 752, in |
49 |
> sage.rings.integer.Integer.__init__ (sage/rings/integer.c:7812) |
50 |
> TypeError: unable to coerce <type 'mpz'> to an integer |
51 |
> |
52 |
> |
53 |
Hi Vladimir, |
54 |
|
55 |
I cannot reproduce that. Which version of sage do you have currently installed |
56 |
and was any component updated recently (mpmath,mpfr,gmp?). |
57 |
|
58 |
Francois |