簡體   English   中英

在安裝了python3.5.2的Ubuntu16.04中,gedit出了點問題

[英]In Ubuntu16.04 with python3.5.2 installed, something wrong with gedit

我的操作系統是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'

我怎樣才能解決這個問題?? 任何幫助將非常感激!

你試過跑步嗎?

apt install python3-gi

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM