我正要为gtk+3设置pygobject。这个http://python-gtk-3-tutorial.readthedocs.org/en/latest/install.html#id2页面说我需要Jhbuild。我继续安装它。但是,它给了我回溯
Traceback (most recent call last):
File "/usr/bin/jhbuild", line 6, in <module>
import __builtin__
ImportError: No module named '__builtin__'
这显然是由于python的错误版本(我的默认值是python3)。在
所以,我找到了这个页面https://wiki.gnome.org/Projects/Jhbuild/Dependencies/ArchLinux
建议加上
^{pr2}$行到~/.config/jhbuildrc。当我再次运行jhbuild时,它会发出相同的回溯。
我试着把文件改成~/.jhbuildrc。也不起作用。
所以,我被困在这里了。任何帮助都将不胜感激。在
我在ArchLinux上,fwiw。在
当您为jhbuild本身设置
PYTHON=/usr/bin/python2
时,可能需要设置PYTHON=/usr/bin/python2
。jhbuildrc
文件只用于它构建的东西。在另请参见:https://wiki.archlinux.org/index.php/JHBuild
相关问题 更多 >
编程相关推荐