Cannot import name '_gi'

前端 未结 4 1680
说谎
说谎 2021-01-11 11:58

I\'m trying to add a repository to ppa with the add-apt-repository commands but the _gi module from Python is not found.

I did this command

4条回答
  •  清歌不尽
    2021-01-11 12:05

    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
    

提交回复
热议问题