-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 I've checked it a bit more and there is new problem with debug packages: $ python3.6-dbg -c 'import pyopencl' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python3/dist-packages/pyopencl/__init__.py", line 37, in <module> import pyopencl._cl as _cl ImportError: /usr/lib/python3/dist-packages/pyopencl/_cl.cpython-36dm- x86_64-linux-gnu.so: undefined symbol: PyModule_Create2
$ python3.7-dbg -c 'import pyopencl' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python3/dist-packages/pyopencl/__init__.py", line 37, in <module> import pyopencl._cl as _cl ImportError: /usr/lib/python3/dist-packages/pyopencl/_cl.cpython-37dm- x86_64-linux-gnu.so: undefined symbol: PyModule_Create2 $ python3.7 -c 'import pyopencl' $ python-dbg -c 'import pyopencl' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/pyopencl/__init__.py", line 37, in <module> import pyopencl._cl as _cl ImportError: /usr/lib/python2.7/dist-packages/pyopencl/_cl.x86_64-linux- gnu_d.so: undefined symbol: Py_InitModule4_64 So PyOpenCL works with Python3.7 right now, but debug symbols do not work at all (neither for Python 3, nor for Python 2.7). It might be related to move to pybind. At the same time I found some information suggesting that debug packages need to be compiled differently. It's either deliberate Python behavior https://bugs.python.org/issue5735 "Python compiled with --with-pydebug throws an ImportError when trying to import modules compiled without --with-pydebug, as it should" or some strange gcc error https://riverbankcomputing.com/pipermail/pyqt/2014-July/034561.html https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755767 I'll need to investigate. If somebody has any idea, please let me know. - -- Tomasz Rybak, Debian Developer <serp...@debian.org> GPG: A565 CE64 F866 A258 4DDC F9C7 ECB7 3E37 E887 AA8C -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE1bhtbqZEgXjcK9cyggqgxGY3jWkFAlwFs5UACgkQggqgxGY3 jWlShBAAtQRtwQ+6xgf1ZfUudV/DFe5xrdYy8LtvpO9BKs8rlzx71npB661QLm05 RMvjIiZkfdvO/52ENxt6O73NHyEWmaI+L43PZNdI2lIopVKObV86oLQVRmCAr4Id M4alfawHnLWTX8T7pXwOjPSwClxZ6aUOrwSdAPRFlQqEuS9A4A83z99hH8QCB8hC JlDVwwnM29N5WRmSt6VFhkUQ1Df/SmxEnfGOL4xLdRA4bYOyE92TC7BGstxW0dyJ evO/AXd4SytvvRnax08LgisfXKsyu5x24baiNKFcyuzFdGM4YdTQXfXKBSZRiiuO pt7uZvyx7dlcMlZeQ3dmFUiYQaS5Q9NM/bi15eBdOXQ7L0jhR1aq3vA9isMM9MXS q3O1OWCJqUOr7ojyGj2grj2iXwaNZgVSKN3RZlk2YeV3XybMnw89T7oxbhf0Dyk3 0TDPtWcCKWOl6SOPK4q5crxDIDE0nl1VHzSmy3j97Jt9sYgjPrY0ad7tdJ4OxOfF GlcoRlK4kJq3KZKSGwcK1DUKq20RPs/d7Uik8aj7ONw40z48OVerON8gNi+ZvicJ DjJCPevGFB4Fh3tLSp5tCZGfLxhrGf8LAKaqTiO5HjtfgN5M1fL5//LvJnLRziaz qpc4BAIpydyc32p6wIk80SrdDXVLyaE9QIWPKfIpKlajAXT6rsA= =EOfv -----END PGP SIGNATURE-----