Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 349
apt Avatar asked Jan 23 '23 13:01

apt


2 Answers

If you have Macports you can simply do

port install py26-gobject

With Homebrew it would be:

brew install pygobject
like image 185
D R Avatar answered Jan 26 '23 07:01

D R


If you want to use pygobject with Python 3 and GTK 3:

brew install pygobject3
like image 34
Creak Avatar answered Jan 26 '23 05:01

Creak