[Numpy-discussion] numpy 1.1: import numpy fails in Debian

Ondrej Certik ondrej@certik...
Mon Jun 9 16:18:42 CDT 2008


On Mon, Jun 9, 2008 at 6:20 PM, Ondrej Certik <ondrej@certik.cz> wrote:
> Hi,
>
> I tried to package numpy 1.1 and upload it to Debian, all worked fine,
> I installed the package and:
>
> In [1]: import numpy
> ---------------------------------------------------------------------------
> ImportError                               Traceback (most recent call last)
>
> /home/ondra/debian/packages/numpy/<ipython console> in <module>()
>
> /usr/lib/python2.5/site-packages/numpy/__init__.py in <module>()
>    105     import random
>    106     import ctypeslib
> --> 107     import ma
>        global ma = undefined
>    108
>    109     # Make these accessible from numpy name-space
>
> ImportError: No module named ma
>
>
>
> So I tried to investigate where the problem is, but I didn't figure it
> out. I am sending the build log. If anyone knows what's wrong, it'd be
> very helpful.
>
> The only thing I figured out so far is that the "ma" package gets
> installed into:
>
> debian/tmp/usr/lib/python2.5/site-packages/numpy/ma
>
> but it is not copied into the directory:
>
> debian/python-numpy/usr/share/pyshared/numpy/
>
> from which the package is made. So it's maybe a bug in some Debian
> package, rather than in numpy itself. But maybe some numpy developers
> know what is so different on the "ma" package (which as I understand
> was added in 1.1).

Andrew Straw fixed the problem, so the new numpy package is in incoming:

http://incoming.debian.org/

and should be on Debian mirrors tomorrow.

Ondrej


More information about the Numpy-discussion mailing list