简体   繁体   中英

installing pygobject on mac for Python 2.6

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?

If you have Macports you can simply do

port install py26-gobject

With Homebrew it would be:

brew install pygobject

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

brew install pygobject3

ah found it : http://py26-gobject.darwinports.com/

nevermind!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM