[Python-modules-team] Bug#497786: import of numpy fails for python2.5
tmancill at debian.org
Fri Sep 5 13:58:44 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Ondrej Certik wrote:
> On Fri, Sep 5, 2008 at 2:29 AM, tony mancill <tmancill at debian.org> wrote:
>> Ondrej Certik wrote:
>>> On Fri, Sep 5, 2008 at 12:12 AM, tony mancill <tmancill at debian.org> wrote:
>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>> Hash: SHA1
>>>> FYI, I'm able to reproduce this bug on 3 separate systems i386:
>>>> On a lenny system that was installed from a jigdo DVD created on 7/21 that
>>>> has been updated daily, on a lenny system that was freshly installed today
>>>> (using the 9/1 jigdo DVD), and on my sid system.
>>>> Things were working fine with numpy on the 7/21 install and on my unstable
>>>> system until very recently, so I'm trying to track it back to what might
>>>> have changed.
>>>> Please let me know what additional information I can provide. I'm kind of
>>>> new to numpy, but am motivated since I can't continue my research until I
>>>> get it working again.
>>> Thanks for the additional information. Try to remove python-numpy and
>>> install it again. If it doesn't work, please send the the info I asked
>>> for here:
>>> Just try to figure out where the problem is, we'll then figure out how
>>> to fix it.
>> Thank you for taking a look at it. I think, not surprisingly, I'm unable to
>> reproduce the problem with numpy alone, but the output is attached. It is
>> being used as part of python-matplotlib in my application, so I will try to
>> narrow it down to the smallest example possible.
>> Script started on Thu 04 Sep 2008 05:22:25 PM PDT
>> $ python2.5 -c "import numpy"
>> $ dpkg -L python-numpy
> ^^^ So where is the problem? numpy seems to import fine for you.
Yeah, I wish it worked in more than just the basic import case...
$ python-dbg ./0831-support.py
>>> Couldn't import pylab -- stubbing out plot functions <<<
Traceback (most recent call last):
File "./0831-support.py", line 2, in <module>
from nomo.evaluation import Evaluator, AggregateEvaluator
File "/data/work/wsu/nomos_svn/nomogram/src/nomo/evaluation.py", line 6,
File "/usr/lib/python2.5/site-packages/numpy/__init__.py", line 93, in
File "/usr/lib/python2.5/site-packages/numpy/add_newdocs.py", line 9, in
from lib import add_newdoc
File "/usr/lib/python2.5/site-packages/numpy/lib/__init__.py", line 4, in
from type_check import *
File "/usr/lib/python2.5/site-packages/numpy/lib/type_check.py", line 8,
import numpy.core.numeric as _nx
File "/usr/lib/python2.5/site-packages/numpy/core/__init__.py", line 5, in
undefined symbol: Py_InitModule4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Python-modules-team