Gentoo Archives: gentoo-science

From: fbissey@××××××××××××.nz
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] [sage-on-gentoo] cannot build Sage because of Sympy-0.7.1
Date: Fri, 17 Aug 2012 00:02:45
Message-Id: 20120817093218.0p7480wcow8w4880@webmail.slingshot.co.nz
In Reply to: Re: [gentoo-science] [sage-on-gentoo] cannot build Sage because of Sympy-0.7.1 by v_2e@ukr.net
1 Quoting v_2e@×××.net:
2
3 > On Thu, 16 Aug 2012 21:28:07 +1200
4 > Francois Bissey <fbissey@××××××××××××.nz> wrote:
5 >
6 >> you have numpy-1.6.xx installed don't you? I am adding that to the
7 >> list of pains related to the fact we are stuck with numpy-1.5
8 > No, I don't. In fact, numpy-1.6 has been masked in
9 > my /etc/portage/package.mask file for a while.
10 > Currently I've got dev-python/numpy-1.5.1 installed.
11 >
12 OK wrong assumption from me by looking at the code. You have probably enabled
13 the gmp useflag in mpmath and now you have gmpy on your system. I am
14 now fairly
15 sure that gmpy is the cause of the problem.
16 Like sage gmpy can be autoloaded by mpmath but if both are present at the same
17 time you get the confusion that you have seen. As a quick check you can try:
18 MPMATH_NOGMPY=1 emerge -1v sympy
19 that should work. Adding that variable to sage-env may help with potential
20 problems importing mpmath or sympy in sage but really mpmath has to change
21 their default behavior.
22
23 Francois

Replies