[Numpy-discussion] distutils.misc_util Configuration error

Pearu Peterson pearu at scipy.org
Wed Mar 29 06:33:05 CST 2006


On Wed, 29 Mar 2006, Benjamin Thyreau wrote:

> Hi,
> when trying to create an distutils.misc_util.Configuration instance, since
> numpy 0.9.5, i got an
>
> Python 2.4.1 (#1, May  2 2005, 15:06:50)
> [GCC 3.3.3 20040412 (Red Hat Linux 3.3.3-7)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import numpy.distutils.misc_util
>>>> numpy.distutils.misc_util.Configuration()
> Traceback (most recent call last):
>  File "<stdin>", line 1, in ?
>  File "/somewhere/numpy-0.9.6/build/lib.linux-i686-2.4/numpy/distutils/misc_util.py", line 450, in __init__
>    f = get_frame(i)
>  File "/somewhere/numpy-0.9.6/build/lib.linux-i686-2.4/numpy/distutils/misc_util.py", line 359, in get_frame
>    return sys._getframe(level+1)
> ValueError: call stack is not deep enough

Fixed in numpy svn.

Thanks,
Pearu




More information about the Numpy-discussion mailing list