当尝试打开 gmate 编辑器(为 ruby 安装它)时,出现此错误: “导入错误:没有名为 gconf 的模块”
我的python版本是2.7.3
请您参考如下方法:
我怀疑您没有安装 gconf 的 python 绑定(bind)。
在 Ubuntu 上,您需要执行以下操作:
sudo apt-get install python-gconf
...或 CentOS 的等效命令:
sudo yum install gnome-python2-gconf
当尝试打开 gmate 编辑器(为 ruby 安装它)时,出现此错误: “导入错误:没有名为 gconf 的模块”
我的python版本是2.7.3
请您参考如下方法:
我怀疑您没有安装 gconf 的 python 绑定(bind)。
在 Ubuntu 上,您需要执行以下操作:
sudo apt-get install python-gconf
...或 CentOS 的等效命令:
sudo yum install gnome-python2-gconf