0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

CentOS 7.2で、geditのプラグインが使えるようにする(メモ)

0
Last updated at Posted at 2016-06-30

CentOS 7.2でgeditのプラグインが使えるようにしたときのメモ

はじめに

Ubuntu 14.04上のVirtual BoxにCentOS 7.2を導入した。
しかし、このCentOS 7.2上で、geditのプラグインを設定しようとすると下記のようなエラーが出力され、プラグインが利用できない。

(gedit:3720): libpeas-WARNING **: Error initializing Python Plugin Loader: PyGObject initialization failed ImportError: could not import gobject (could not find _PyGObject_API object)
(gedit:3720): libpeas-WARNING **: Please check the installation of all the Python related packages required by libpeas and try again
(gedit:3720): libpeas-WARNING **: Loader 'python' is not a valid PeasPluginLoader instance

原因と解決方法

調査の結果、pygobject3とpygobject3-baseをバージョン3.14.0-3から3.8.2-6へダウングレードすればよいことがわかった。
結局、下記コマンドでgeditのプラグインが利用できるようになった。
sudo yum downgrade http://vault.centos.org/7.1.1503/os/x86_64/Packages/pygobject3-3.8.2-6.el7.x86_64.rpm http://vault.centos.org/7.1.1503/os/x86_64/Packages/pygobject3-base-3.8.2-6.el7.x86_64.rpm

参考

本メモを作成するにあたり、下記を参考にしました。投稿者に深く感謝申し上げます。

https://bugs.centos.org/view.php?id=10403

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?