系统:ubuntu17
装了python2.7.13, 之后陆续装了python3.5.3, python3.6.1
本来默认的python版本是2.7, 改为3.6后, 就出现gnome-terminal用不了的问题:
$ gnome-terminal
Traceback (most recent call last):
$ ls /usr/lib/python3/dist-packages/gi/
_constants.py _gobject overrides _signalhelper.py
$ sudo cp _gi.cpython-35m-x86_64-linux-gnu.so _gi.cpython-36m-x86_64-linux-gnu.so
$ sudo cp _gi_cairo.cpython-35m-x86_64-linux-gnu.so _gi_cairo.cpython-36m-x86_64-linux-gnu.so