Bug#497786: [Python-modules-team] Bug#497786: import of numpy fails for python2.5
[Tony Mancill, 2008-09-07 07:03] > Piotr Ożarowski wrote: > > 2008/9/5 tony mancill <[EMAIL PROTECTED]>: > >> $ 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 just don't use -dbg interpreter for now or build python-matplotlib-dbg package's trunk version[1] [1] svn co svn://svn.debian.org/python-modules/packages/matplotlib/trunk/debian/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#497786: [Python-modules-team] Bug#497786: import of numpy fails for python2.5
Piotr Ożarowski wrote: > 2008/9/5 tony mancill <[EMAIL PROTECTED]>: >> $ 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): [...] ImportError: /usr/lib/python2.5/site-packages/matplotlib/_path.so: undefined symbol: Py_InitModule4 [64840 refs] 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. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#497786: [Python-modules-team] Bug#497786: import of numpy fails for python2.5
OK, I tried debugging by creating an Etch chroot with numpy and matplotlib, and then upgraded it, but couldn't really reproduce the bug. I hope someone can help. Thanks. Kumar -- Kumar Appaiah signature.asc Description: Digital signature
Bug#497786: [Python-modules-team] Bug#497786: import of numpy fails for python2.5
2008/9/5 tony mancill <[EMAIL PROTECTED]>: > $ 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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]