nwg-displays icon indicating copy to clipboard operation
nwg-displays copied to clipboard

[ERROR] ModuleNotFoundError: No module named 'gi'

Open MathisLec opened this issue 5 months ago • 6 comments

Hello there, I just installed nwg-displays on my Arch by launching install.sh. When I try to launch the tool, I receive an error:

❯ nwg-displays
Traceback (most recent call last):
  File "/home/<user>/.venv/bin/nwg-displays", line 33, in <module>
    sys.exit(load_entry_point('nwg-displays==0.3.10', 'gui_scripts', 'nwg-displays')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/<user>/.venv/bin/nwg-displays", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 202, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/<user>/.venv/lib/python3.11/site-packages/nwg_displays-0.3.10-py3.11.egg/nwg_displays/main.py", line 20, in <module>
    import gi
ModuleNotFoundError: No module named 'gi'

I tried to install all of these but no change. Can I get a little help? :)

MathisLec avatar Jan 11 '24 18:01 MathisLec