Install 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 in darwinports uses Python2.4. I want a package using Python2.6

Alternatively, has anyone tried installing it from sources on a Mac?

+4
source share
3 answers

If you have Macports , you can just do

port install py26-gobject 

With Homebrew, it will be:

 brew install pygobject 
+9
source

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

 brew install pygobject3 
+1
source
-1
source

Source: https://habr.com/ru/post/1301191/


All Articles