gattlib icon indicating copy to clipboard operation
gattlib copied to clipboard

TypeError: 'dict' object is not callable

Open webdeck opened this issue 3 years ago • 0 comments

I'm trying to use gattlib on archlinux (specifically, on a pikvm.) This is the error I get trying to import the library (used by https://github.com/OpenWonderLabs/python-host):

# python3 switchbot_py3.py
Traceback (most recent call last):
  File "/root/src/python-host/switchbot_py3.py", line 35, in <module>
    from bluetooth.ble import DiscoveryService, GATTRequester
  File "/usr/lib/python3.9/site-packages/bluetooth/ble.py", line 1, in <module>
    from gattlib import *
TypeError: 'dict' object is not callable

webdeck avatar Feb 04 '22 16:02 webdeck