【问题标题】:No package 'pygobject-3.0' found [closed]找不到包'pygobject-3.0'[关闭]
【发布时间】:2012-10-03 10:29:29
【问题描述】:

我想安装 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.

但是,我检查了 看来我已经安装了 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

【问题讨论】:

  • 应该迁移到超级用户superuser.com
  • 非常有用的问题(解决了我的问题)——应该移到正确的站点,然后再打开。

标签: linux package fedora


【解决方案1】:

安装pygobject3-devel 包。

【讨论】:

  • 我在编译最新的mypaint时遇到了这个问题。我需要 apt-get 安装 python-gobject-dev 包。
  • 在 ubuntu 16.04 上:sudo apt install -y python-gi-dev
  • 我在 Ubuntu 18 上。pygobject3-devel 不存在。 pygobject3-dev 也没有。
  • 我尝试安装 python-gi-dev,它立即在我的系统上安装了 python 2.7。这是古董。我不想要它。 python-gobject-2-dev 同上,它是 python-gobject-dev 的替代品。这些cmet都是今年的,为什么要引用这种过时的python版本?
  • 在 Ubuntu 18.04 sudo apt install -y python-gi-dev 上解决了这个问题,谢谢。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2023-04-06
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多