You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python 3.11.4 (main, Nov 10 2023, 22:43:44) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gatt
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File ".pyenv/versions/3.11.4/lib/python3.11/site-packages/gatt/__init__.py", line 1, in <module>
from .gatt import DeviceManager, Device, Service, Characteristic
File ".pyenv/versions/3.11.4/lib/python3.11/site-packages/gatt/gatt.py", line 6, in <module>
from .gatt_linux import *
File ".pyenv/versions/3.11.4/lib/python3.11/site-packages/gatt/gatt_linux.py", line 13, in <module>
from gi.repository import GObject
ModuleNotFoundError: No module named 'gi'
Activity
nopium commentedon Nov 23, 2023
This seems like a relevant solution
https://stackoverflow.com/a/51709431
tomekjaworski commentedon Feb 24, 2025
Thanks @nopium!