I\'m trying to add a repository to ppa with the add-apt-repository commands but the _gi module from Python is not found.
add-apt-repository
_gi
I did this command
These 2 steps may help you
$ cd /usr/lib/python3/dist-packages/gi $ sudo ln -s _gi.cpython-{36m,37m}-x86_64-linux-gnu.so