Comment 38 for bug 1713238

Revision history for this message
Balint Pap (marlyna) wrote :

I'm having the same issue on Ubuntu 18.04.

python3 --version
Python 3.8.1

sudo apt-get install python3-gi
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-gi is already the newest version (3.26.1-2ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Traceback (most recent call last):
  File "/usr/share/gufw/gufw/gufw.py", line 22, in <module>
    from gufw.view.gufw import Gufw
  File "/usr/share/gufw/gufw/gufw/view/gufw.py", line 18, in <module>
    import gi
ModuleNotFoundError: No module named 'gi'

Dropbox had the same error message, but after changing the mentioned file (in the error message) first line, to "#!/usr/bin/python3" it started to work. But only dropbox does, gufw still doesn't open.