PyKDL fails to import after PyQt5.QtCore

Timon Engelke pyqt at timonengelke.de
Mon Mar 15 13:23:59 GMT 2021


Hey,

I am on Debian Testing and noticed the following error when using PyQt5 and
PyKDL:

>>> import PyQt5.QtCore
>>> import PyKDL
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: PyCapsule_GetPointer called with incorrect name

When I import PyKDL before PyQt5.QtCore, both imports are successful.

The issue can be reproduced in a Docker Container with Debian Bullseye after
installing python3, python3-pyqt5, and python3-pykdl.

Python Version: 3.9.1
PyQt5 Version: 5.12.5
PyKDL Version: 1.4.0-11

I don't know if this is the right place to post the issue. If it is not, please
be so kind and refer me to the right place. Also, if you need further
information, feel free to ask.

Best regards
Timon Engelke



More information about the PyQt mailing list