簡體   English   中英

Py3cairo通過Brew在Mac上安裝,但是Pygobject3說在安裝中找不到'pycairo'

[英]Py3cairo installed on mac via Brew, but Pygobject3 says 'pycairo' not found on install

這是我嘗試安裝py3cairo時發生的情況(因為它已安裝):

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運行configure批處理文件時,這是以下輸出:

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,但是我嘗試用brew卸載py3cairo並重新安裝它,但它仍然始終安裝1.10.0_3,這使我認為它必須是mac的最高版本。

如何使pygobject3安裝在Mac Seirra上?

配置:錯誤:軟件包要求(py3cairo> = 1.11.1

https://github.com/Homebrew/homebrew-core/blob/master/Formula/py3cairo.rb#L4

網址“ https://cairographics.org/releases/pycairo-1.10.0.tar.bz2

版本太舊了。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM