安裝pycharm之后,通過命令sh pycharm.sh啟動pycharm報錯如下:
解決辦法:
sudo apt-get install unity-gtk3-module
如果之后還有問題,嘗試下面的命令
Does sudo apt-get install unity-gtk3-module fix the problem?
If not, try apt-cache search unity-gtk-module (which suggests that there is also an unity-gtk2-module).
What program are you trying to run? From where did you obtain it? And have you satisfied its' dependencies? – Elliott Frisch Mar 5 '16 at 18:27
參考文檔:
Gtk-Message: Failed to load module "unity-gtk-module"
Gtk-Message: Failed to load module “unity-gtk-module” Ubuntu 14.04