python - 无法在 macOS 上安装 PyGObject

标签 python macos gtk gtk3 pygobject

我使用的是 macOS
Python版本:2.7/3.6

pip3:

$ pip3 install PyGObject
Collecting PyGObject
Could not find a version that satisfies the requirement PyGObject (from versions:)
No matching distribution found for PyGObject

pip 和 pip2.x 的结果相同

为什么我找不到它?
在 macOS 上安装 PyGObject 的替代方法是什么?

最佳答案

尝试使用

brew install pygobject3

关于python - 无法在 macOS 上安装 PyGObject,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46170088/

相关文章:

python - 用scrapy下载图片

python - 从 Odoo 图形 View 中隐藏字段

python 无法使用 HTTP 请求从异步函数获取返回值

python - 导入命名空间后出现 TypeNotFoundError

linux - 在 UNIX 类型的操作系统中获取当前用户帐户的显示名称

php - Mac 操作系统终端 : Can't get composer on the global environment

c - gtk_action_group_new() 和 GtkStock - 用什么代替?

c - 如何将焦点从 clutter_stage 转移到 clutter_actor?

ios - 启用共享后蓝牙无法连接

c++ - 在函数调用时将 GTK 子窗口小部件添加到主窗口