I want to learn to write programs using Python 3.2 and PyGTK (running on Ubnutu 11.04). The PyGTK module is installed for Python 2.7 by default but I would rather use 3.2. Is there any way to make this work?

Suggestions as to other tools to create GUI's with Python are certainly welcome, so far I have tinkered with Tkinter but would like to try something else.

Cheers.

link|improve this question
"We strongly recommend not using PyGTK for new projects and to port existing applications from PyGTK to PyGObject." – grawity Sep 18 '11 at 9:41
feedback

1 Answer

Install from source under 3.2.

python3.2 setup.py build
sudo python3.2 setup.py install
link|improve this answer
I tried this and all I got was: ******************************************************************** * Building PyGTK using distutils is only supported on windows. * * To build PyGTK in a supported way, read the INSTALL file. * ******************************************************************** and I tried that but it didn't help me much as it didn't work (and it wanted to install for 2.7) – Gareth Sep 18 '11 at 3:02
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.