installing pygobject on mac for Python 2.6

apt picture apt · Feb 13, 2010 · Viewed 7k times · Source

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?

Answer

D R picture D R · May 27, 2010

If you have Macports you can simply do

port install py26-gobject

With Homebrew it would be:

brew install pygobject