public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
From: "François Bissey" <f.r.bissey@massey.ac.nz>
To: gentoo-science@lists.gentoo.org
Subject: Re: [gentoo-science] [sage-on-gentoo]some strange problem with sympy
Date: Mon, 18 Oct 2010 20:54:57 +1300	[thread overview]
Message-ID: <201010182054.57139.f.r.bissey@massey.ac.nz> (raw)
In-Reply-To: <1287358931.31425.0@pavilion64>

> François,
> 
> On 10/17/2010 04:39:12 PM, François Bissey wrote:
> > Hi,
> > 
> > I think I found the root cause of the problem. sympy's setup.py
> > has the following line:
> > 
> > import sympy
> > 
> > it is the line triggering everything. I don't know if it calls the
> > already installed system sympy or the build copy (but I could find out).
> > The matter is it is reproducible by just opening a python2.6 shell and
> > typing "import sympy" and you will get the same message.
> > Try "import mpmath" and you will get the exact same error. This is
> > because the problem comes from mpmath and in the case of sympy
> > the copy of mpmath that is shipped with it.
> 
> Here I get the
> 
> KeyError: 'DOT_SAGE'
> 
> when I import sympy from a python shell on a machine where sage-4.6.alpha3
> is installed but not from one where sage-4.5.3 is installed. However,
> 
That's interesting Steve! That may be due to a change in sage-4.6.
Can you try "import sage.all" on the machine with sage-4.5.3?
I was going to email to both sympy and mpmath mailing list but that's
something I'd like to know before raising the issue on mpmath.

I think the "import sympy" in setup.py is wrong in any case.

Francois



      reply	other threads:[~2010-10-18  7:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-17 10:27 [gentoo-science] [sage-on-gentoo]some strange problem with sympy François Bissey
2010-10-17 21:39 ` François Bissey
2010-10-17 23:42   ` Steven Trogdon
2010-10-18  7:54     ` François Bissey [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201010182054.57139.f.r.bissey@massey.ac.nz \
    --to=f.r.bissey@massey.ac.nz \
    --cc=gentoo-science@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox