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 |
12 |
> > already 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 and |
14 |
> > 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 |
> Here I get the |
20 |
> |
21 |
> KeyError: 'DOT_SAGE' |
22 |
> |
23 |
> when I import sympy from a python shell on a machine where sage-4.6.alpha3 |
24 |
> is installed but not from one where sage-4.5.3 is installed. However, |
25 |
> |
26 |
That's interesting Steve! That may be due to a change in sage-4.6. |
27 |
Can you try "import sage.all" on the machine with sage-4.5.3? |
28 |
I was going to email to both sympy and mpmath mailing list but that's |
29 |
something I'd like to know before raising the issue on mpmath. |
30 |
|
31 |
I think the "import sympy" in setup.py is wrong in any case. |
32 |
|
33 |
Francois |