How do I fix melds 'Cannot import: GTK+' error caused by missing 'gi.repository'?

前端 未结 2 1716
离开以前
离开以前 2021-01-20 13:55

I\'ve recently started learning GTK+ development and installed some new packages (I don\'t remember which ones). Now the merge tool meld doesn\'t work any more:

相关标签:
2条回答
  • 2021-01-20 14:36

    I just encountered this - but forgot that I was working inside a virtualenv that didn't have this stuff installed. Just needed to run the command from outside the virtualenv.

    0 讨论(0)
  • 2021-01-20 15:02

    I had the gi package installed:

    $ sudo pip uninstall gi
    

    fixed my problem.

    0 讨论(0)
提交回复
热议问题