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

前端 未结 5 2094
春和景丽
春和景丽 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:49

    In Python 3.5, I do this:

    1. sudo vim /usr/bin/gnome-terminal
    2. Modify the first line from #!/usr/bin/python to #!/usr/bin/python3.5

    This fixed my problem!

提交回复
热议问题