Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.


share|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

Install from source under 3.2.

python3.2 build
sudo python3.2 install
share|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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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