[Python] Use all-in-one pygtk installer Windows 7 doesn't work?

Discussão em 'Python' iniciado por Stack, Março 27, 2025.

  1. Stack

    Stack Membro Participativo

    I have python 2.6 installed on my Windows 7 OS. I can run the python command from the command line and I enter into a python interpreter. Now I want to install the pygtk modules. In the past I have installed GTK+, PyGTK, PyCairo and PyGObject separately and got everything to work. I would like to use the all-in-one installer provided on the pygtk website. I downloaded the version from python 2.6 and the installation completed successfully.

    However import gtk and import pygtk still give me the ImportError: No module named .... Does anyone know a trick to get this "all-in-one" installer to work?

    Please see my answer to the post here. Bottom line is I couldn't get the all-in-one installer to work for windows 7, but I DID get pygtk running by following the instructions given in that post.

    Continue reading...

Compartilhe esta Página