Public bug reported: I am trying to debug a segmentation fault in my Python application, which requires h5py. However, it seems I cannot import h5py when running python-dbg (it works fine when running the regular python binary). Here is the import error message:
$ python-dbg Python 2.7.3 (default, Aug 1 2012, 04:56:57) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import h5py Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/h5py/__init__.py", line 1, in <module> from h5py import _errors ImportError: /usr/lib/python2.7/dist-packages/h5py/_errors.so: undefined symbol: Py_InitModule4 [39330 refs] ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: python-h5py 2.0.1-1build1 ProcVersionSignature: Ubuntu 3.2.0-24.39-generic-pae 3.2.16 Uname: Linux 3.2.0-24-generic-pae i686 ApportVersion: 2.0.1-0ubuntu12 Architecture: i386 Date: Mon Aug 13 13:52:37 2012 InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423) ProcEnviron: LANGUAGE=en_CA:en TERM=xterm PATH=(custom, user) LANG=en_CA.UTF-8 SHELL=/bin/bash SourcePackage: h5py UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: h5py (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 precise -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1036316 Title: cannot import python-h5py when running python-dbg To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/h5py/+bug/1036316/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs