【问题标题】:PyGObject in Python 3 on windowsWindows 上 Python 3 中的 PyGObject
【发布时间】:2012-04-28 13:48:43
【问题描述】:

有谁知道是否可以在 Windows 上为 Python 3 安装 PyGObject/Gtk+3?我在 gnome 的网站上找到了 Python 2 (here) 的安装程序,并且有几个声明它适用于 Python 3(例如 here),但没有安装程序。编译指令似乎都使用了jhbuild,据我所知是一个linux工具。我是否需要编译 PyGObject 才能使其工作,如果需要,如何?或者有没有更简单的方法?最好是指南或操作指南,但似乎不存在这样的东西。

【问题讨论】:

标签: python windows installation python-3.x pygobject


【解决方案1】:

由于这是该主题中评分最高的问题,我想更新答案。这是适用于 Windows 32 位的可用安装程序:

它包含完整的类似 SDK 的包。并完成图书馆收藏。 http://sourceforge.net/projects/pygobjectwin32/files/pygi-aio-3.10.2-win32_rev10-setup.exe/download

【讨论】:

【解决方案2】:

不久前我搜索过同样的东西。我真的找不到太多信息,但this other post

我最终放弃了 GTK+,转而使用真正独立于操作系统的 xwpython

【讨论】:

    【解决方案3】:

    你试过官方pypi页面https://pygobject.readthedocs.io/en/latest/getting_started.html

    我能够安装 GTK

    【讨论】:

      猜你喜欢
      • 2018-06-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-05-01
      • 2010-11-20
      • 2012-07-20
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多