我的操作系统是Ubuntu 16.04 x84_64, 我已经安装了Anaconda4.2(python3.5.2),然后用它来安装gedit。
sudo apt-get install gedit-plugins
我试图安装一些我经常使用的插件,但我遇到了一些问题。
(gedit:4429): libpeas-WARNING **: Error initializing Python Plugin `Loader: PyGObject initialization failed`
ImportError: could not import gobject (error was: ImportError("No module named 'gi'",))
(gedit:4429): libpeas-WARNING **: Please check the installation of all the Python related packages required by libpeas and try again
(gedit:4429): libpeas-WARNING **: Loader 'python3' is not a valid PeasPluginLoader instance
然后我按照一些答案更改了插件文件
Loader=python3 -----> Loader=python
虽然它一直显示错误:
'(gedit:4907): libpeas-WARNING **: The 'python' plugin loader has not been enabled'
我该如何解决这个问题? 任何帮助将不胜感激!
答案 0 :(得分:0)
你试过跑吗?
apt install python3-gi