title: Cannot import name '_gi'
body: <p>I'm trying to add a repository to ppa with the <code>add-apt-repository</code> commands but the <code>_gi</code> module from Python is not found.</p>
  
  <p>I did this command : <code>sudo add-apt-repository ppa:s-mankowski/ppa-kf5</code></p>
  
  <p>Here is the traceback :</p>
  
  <pre><code>Traceback (most recent call last):
    File "/usr/bin/add-apt-repository", line 11, in &lt;module&gt;
      from softwareproperties.SoftwareProperties import SoftwareProperties, shortcut_handler
    File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 67, in &lt;module&gt;
      from gi.repository import Gio
    File "/usr/lib/python3/dist-packages/gi/__init__.py", line 42, in &lt;module&gt;
      from . import _gi
  ImportError: cannot import name '_gi' from 'gi' (/usr/lib/python3/dist-packages/gi/__init__.py)
  </code></pre>
  
  <p>I'm on Ubuntu with Python3.7, I tried many solutions like but it doesn't work :</p>
  
  <pre><code>$ cd /usr/lib/python3/dist-packages
  $ sudo ln -s apt_pkg.cpython-{36m,37m}-x86_64-linux-gnu.so
  
  $ cd /usr/lib/python3/dist-packages/gi
  $ sudo ln -s _gi.cpython-{36m,37m}-x86_64-linux-gnu.so
  </code></pre>
  
  <p>I can't use the <code>sudo add-apt-repository ppa:s-mankowski/ppa-kf5</code> command but running a Python file with <code>python3 {file}</code> works.</p>
  
  <p>Thanks for the help !</p>