Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'gi' #71

Open
nopium opened this issue Nov 23, 2023 · 1 comment
Open

ModuleNotFoundError: No module named 'gi' #71

nopium opened this issue Nov 23, 2023 · 1 comment

Comments

@nopium
Copy link

nopium commented Nov 23, 2023

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'
@nopium
Copy link
Author

nopium commented Nov 23, 2023

This seems like a relevant solution

https://stackoverflow.com/a/51709431

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant