[SciPy-dev] problem importing numpy.lib.scimath from gplt

Pearu Peterson pearu at scipy.org
Thu Mar 30 12:06:21 CST 2006



On Thu, 30 Mar 2006, Brett Olivier wrote:

> Hi
>
> I picked this up using the the gplt module in recent SVN numpy/scipy versions.
> When trying to import stuff from numpy.lib.scimath (although it isn't
> specific to gplt):
>
> +++++++++++
> In [2]: from numpy.lib.scimath import *
>
> ---------------------------------------------------------------------------
> exceptions.AttributeError   Traceback (most recent call last)
>
> AttributeError: 'module' object has no attribute 'ERR_CALL'
> +++++++++++
>
> I'm not sure exactly where to look for the problem.

The problem was that numpy.lib.scimath.__all__ contained names that
do not exist in numpy.lib.scimath name space. This is fixed in svn.

Pearu




More information about the Scipy-dev mailing list