没有找到包'pygobject-3.0'

lis*_*lis 3 linux fedora package

我想安装Accerciser我的操作系统是fedora 16我下载了包,'cd'进入文件夹并运行'./configure'并获取

checking for PYGOBJECT... no
configure: error: Package requirements (pygobject-3.0 >= PYGOBJECT_REQUIRED) were not met:

No package 'pygobject-3.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables PYGOBJECT_CFLAGS and PYGOBJECT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Run Code Online (Sandbox Code Playgroud)

但是,我查了一下似乎我已经安​​装了pygobject 3如何处理这个问题?谢谢!

[root@kit accerciser-3.5.3]# rpm -qa|grep "pygobject"
pygobject2-codegen-2.28.6-2.fc16.x86_64
pygobject3-3.0.3-1.fc16.x86_64
pygobject2-devel-2.28.6-2.fc16.x86_64
pygobject2-2.28.6-2.fc16.x86_64
pygobject2-doc-2.28.6-2.fc16.x86_64
Run Code Online (Sandbox Code Playgroud)

Ign*_*ams 8

安装pygobject3-devel包.

  • 在ubuntu 16.04上:`sudo apt install -y python-gi-dev` (13认同)
  • 在 Ubuntu 18.04 `sudo apt install -y python-gi-dev` 解决了这个问题,谢谢。 (4认同)
  • 我在编译最新的mypaint时遇到了这个问题.我需要apt-get安装```python-gobject-dev```包. (2认同)
  • 我尝试安装 python-gi-dev,它立即在我的系统上安装了 python 2.7。这是古董。我不想要它。python-gobject-2-dev 也是如此,它是 python-gobject-dev 的替代品。这些评论都是今年的,为什么他们提到这么过时的Python版本? (2认同)