Gentoo Archives: gentoo-science

From: Steven Trogdon <strogdon@×××××.edu>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] [sage-on-gentoo]some strange problem with sympy
Date: Sun, 17 Oct 2010 23:45:40
Message-Id: 1287358931.31425.0@pavilion64
In Reply to: Re: [gentoo-science] [sage-on-gentoo]some strange problem with sympy by "François Bissey"
1 François,
2
3 On 10/17/2010 04:39:12 PM, François Bissey wrote:
4 > Hi,
5 >
6 > I think I found the root cause of the problem. sympy's setup.py
7 > has the following line:
8 >
9 > import sympy
10 >
11 > it is the line triggering everything. I don't know if it calls the already
12 > installed system sympy or the build copy (but I could find out).
13 > The matter is it is reproducible by just opening a python2.6 shell
14 > and typing "import sympy" and you will get the same message.
15 > Try "import mpmath" and you will get the exact same error. This is
16 > because the problem comes from mpmath and in the case of sympy
17 > the copy of mpmath that is shipped with it.
18 >
19
20 Here I get the
21
22 KeyError: 'DOT_SAGE'
23
24 when I import sympy from a python shell on a machine where sage-4.6.alpha3 is
25 installed but not from one where sage-4.5.3 is installed. However,
26
27 installs of 4.6.alpha3 and 4.5.3 both exhibit the error when
28
29 ebuild sympy-0.6.6.build compile
30
31 is issued.
32
33 Steve

Replies

Subject Author
Re: [gentoo-science] [sage-on-gentoo]some strange problem with sympy "François Bissey" <f.r.bissey@×××××××××.nz>