在 Mac 上安装 Python 2.6 的 pygobject

发布于 2024-08-21 09:12:53 字数 140 浏览 3 评论 0原文

有谁知道如何在 Mac OSX 上安装 Python 2.6 的 PyGObject。 darwinports 上当前可用的发行版使用的是 Python2.4。我想要一个使用 Python2.6 的包

或者,有人尝试过在 Mac 上从源代码安装它吗?

Does anyone know how to install PyGObject on Mac OSX for Python 2.6. The current distribution available on darwinports is using Python2.4. I want a package using Python2.6

Alternatively, has anyone tried installing it from sources on a Mac?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

不回头走下去 2024-08-28 09:12:53

如果您有 Macports 您只需使用

port install py26-gobject

自制 它将是:

brew install pygobject

If you have Macports you can simply do

port install py26-gobject

With Homebrew it would be:

brew install pygobject
彼岸花ソ最美的依靠 2024-08-28 09:12:53

如果您想在 Python 3 中使用 pygobject 和GTK 3:

brew install pygobject3

If you want to use pygobject with Python 3 and GTK 3:

brew install pygobject3
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文