From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 462B91381F4 for ; Thu, 16 Aug 2012 12:02:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 751B621C019 for ; Thu, 16 Aug 2012 12:02:54 +0000 (UTC) Received: from mxi2.callplus.net.nz (mx194.callplus.net.nz [202.180.66.194]) by pigeon.gentoo.org (Postfix) with ESMTP id 300E4E04C2 for ; Thu, 16 Aug 2012 09:27:59 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AoMKAF+8LFB34Adh/2dsb2JhbABFiC2xdYEIgiABAQU6HDMLGAkVEA8BKR4Zh34DC7BwH4k8iwmDO4McA5Zjjn6CdA X-IronPort-AV: E=Sophos;i="4.77,778,1336305600"; d="scan'208";a="291939906" Received: from 119-224-7-97.callplus.net.nz (HELO vrooom-vrooom.localnet) ([119.224.7.97]) by ismtp2.tranzpeer.net with ESMTP/TLS/DHE-RSA-AES256-SHA; 16 Aug 2012 21:27:57 +1200 From: Francois Bissey To: gentoo-science@lists.gentoo.org Subject: Re: [gentoo-science] [sage-on-gentoo] cannot build Sage because of Sympy-0.7.1 Date: Thu, 16 Aug 2012 21:28:07 +1200 Message-ID: <3918646.x0op0JfapO@vrooom-vrooom> User-Agent: KMail/4.8.4 (Linux/3.0.0-sabayon; KDE/4.8.4; i686; ; ) In-Reply-To: <20120816110536.80822b34f12353b6f8367845@ukr.net> References: <20120814204917.0b6b06b1dd59a826ae08d5ca@ukr.net> <20120816100316.fvwogosgc04o08ko@webmail.slingshot.co.nz> <20120816110536.80822b34f12353b6f8367845@ukr.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-science@lists.gentoo.org Reply-to: gentoo-science@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Archives-Salt: 438ad3df-a617-43c7-b544-4d45dac5a87f X-Archives-Hash: 740c2105f21c0ca54697ebe38a7832d9 On Thu, 16 Aug 2012 11:05:36 v_2e@ukr.net wrote: > Hello! > > On Thu, 16 Aug 2012 10:03:16 +1200 > > fbissey@slingshot.co.nz wrote: > > From a python (2.7) shell, what happens if you do > > > > import mpmath > > > >>> import mpmath > > Traceback (most recent call last): > File "", line 1, in > File "/usr/lib64/python2.7/site-packages/mpmath/__init__.py", line > 10, in 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 to an integer > > > import sympy > > > >>> import sympy > > Traceback (most recent call last): > File "", line 1, in > File "/usr/lib64/python2.7/site-packages/sympy/__init__.py", line 20, > in from sympy.core import * > File "/usr/lib64/python2.7/site-packages/sympy/core/__init__.py", > line 8, in from expr import Expr, AtomicExpr > File "/usr/lib64/python2.7/site-packages/sympy/core/expr.py", line 4, > in from evalf import EvalfMixin > File "/usr/lib64/python2.7/site-packages/sympy/core/evalf.py", line > 6, in import mpmath.libmp as libmp > File "/usr/lib64/python2.7/site-packages/mpmath/__init__.py", line > 10, in 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 to an integer > > > ? > > Also do you you have any problem emerging mpmath. > > No, I do not have any problems emerging mpmath. At least emerge does > not report of any problems during installation. > you have numpy-1.6.xx installed don't you? I am adding that to the list of pains related to the fact we are stuck with numpy-1.5 Francois