it seems to rely on pygtk instead of pygobject: $ python3 ./test-hfp Traceback (most recent call last): File "./test-hfp", line 12, in <module> import glib ModuleNotFoundError: No module named 'glib' Thanks