gnome-tweak-tool fails with error gtweak not found
I'm trying to run gnome-tweak-tool but it gives the following error:
igor@BurnInHell:~$ python /usr/bin/gnome-tweak-tool~ Traceback (most recent call last): File "/usr/bin/gnome-tweak-tool~", line 25, in import gtweak ImportError: No module named gtweak
Where can I find the gtweak lib?
Thanks, Igor
Solution 1:
Try to purge and reinstall again.
sudo apt-get remove --purge gnome-tweak-tool && sudo apt-get install gnome-tweak-tool
Solution 2:
You can also try this workaround if your /usr/bin/gnome-tweaks
file contains
#!/usr/bin/env python3
Try changing it to
#!/usr/bin/python3