Gnome-terminal not starting due to error in python script related to GI

前端 未结 5 2108
春和景丽
春和景丽 2021-01-02 07:13

When I run gnome-terminal, I get the following error:

Traceback (most recent call last):
  File \"/usr/bin/gnome-terminal\", line 9, in 
    fr         


        
5条回答
  •  不知归路
    2021-01-02 07:47

    I was also getting this issue after update python3.5 to python3.6

    This is not the better way but working fine.

    this issue occurs due to _gi_cairo . I resolved it by following code

     cd /usr/lib/python3/dist-packages/gi/
     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
    

提交回复
热议问题