[Python-modules-team] Bug#497786: Bug#497786: import of numpy fails for python2.5
tmancill at debian.org
Sun Sep 7 04:44:43 UTC 2008
Piotr Ożarowski wrote:
> 2008/9/5 tony mancill <tmancill at debian.org>:
>> $ python-dbg ./0831-support.py
>> undefined symbol: Py_InitModule4
> if there's no python-yourmodule-dbg package installed (i.e. no
> yourmodule_d.so file), python-dbg returns similar output
Err... yeah. The python-dbg output is a red-herring. By changing the
order of the imports of pylab and matplotlib, I was able to get a "new"
error message from python-dbg.
$ python-dbg ./0831-support.py
Traceback (most recent call last):
undefined symbol: Py_InitModule4
Also, I figured out why my pylab plot wasn't displaying (unrelated to
anything with the numpy package), so I'm closing the bug.
Thanks to all those who helped.
More information about the Python-modules-team