0
这是当我尝试安装py3cairo(因为它已经被安装)会发生什么:在Mac上安装Py3cairo通过酿造,但Pygobject3说“pycairo”上找不到安装
brew install py3cairo
Updating Homebrew...
Warning: py3cairo 1.10.0_3 is already installed
brew upgrade py3cairo
Updating Homebrew...
Error: py3cairo 1.10.0_3 already installed
而且,然而,当,我运行pygobject 3配置批处理文件,这是我得到以下输出:
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.38.0... yes (version 2.52.3)
checking for FFI... yes
checking for GIO... yes
checking for GI... yes
checking for gobject-introspection... yes
checking for CAIRO... yes
checking for PYCAIRO... no
configure: error: Package requirements (py3cairo >= 1.11.1
) were not met:
No package 'py3cairo' 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 PYCAIRO_CFLAGS
and PYCAIRO_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
的包装要求是py3cairo> = 1.11.1,但我试图卸载py3cairo与BREW和重新安装,它总是安装1.10.0_3,这让我觉得这应该是最高版本在mac上。
我该如何让pygobject3安装在我的Mac Seirra上?
但没有可用的新版本。 – Zhiming010
似乎是这样,要么依赖于未发布的开发版本,要么他们犯了错误。 – TingPing