Wednesday, April 03, 2013

fedora: gnome-tweak-tool no module gi

i got this when running gnome-tweak-tool after upgrading my python

Traceback (most recent call last):
  File "/usr/bin/gnome-tweak-tool", line 22, in <module>
    import gi
ImportError: No module named gi

to make gnome-tweak-tool work again, edit the startup script to run python in normal environment
   
edit your /usr/bin/gnome-tweak-tool

replace #!/usr/bin/env python with #!/usr/bin/python

then go back tweaking :)

(http://askubuntu.com/questions/101906/gnome-tweak-tool-doesnt-start-due-to-importerror-no-module-named-gi-error)

No comments:

Post a Comment

SSH : No matching host key type found. Their offer: ssh-rsa,ssh-dss

Got this while connecting to my mikrotik router via ssh   Unable to negotiate with <ip address> port <ssh port>: no matching hos...