April 25th, 2013, 07:23 PM
Install Problems (PyGTK)
Okay, I'm going to do everything I can to explain this in detail, because I am HORRIBLE at running installations for some reason.
I am running Stackless Python 2.7.3. It was installed that way.
I'm trying to install PyGTK 2.24 so that I can make GTK GUIs.
I extracted the tarball into a folder on my desktop.
I went into this folder and ran setup.py with IDLE.
It almost works, and some of the pygtk data is copied over and installed.
The following error is raised:
I can call "import pygtk" with no problems but it appears the install didn't actually complete, as I can't actually use pygtk. Anybody have any suggestions about what might have gone wrong?
Traceback (most recent call last):
File "C:\Documents and Settings\*****\Desktop\pygtk-2.24.0\setup.py", line 45, in <module>
from dsextras import GLOBAL_MACROS, GLOBAL_INC, get_m4_define, getoutput, \
File "C:\SPython27\lib\site-packages\gtk-2.0\dsextras.py", line 24, in <module>
from codegen.codegen import register_types, SourceWriter, FileOutput
File "C:\SPython27\lib\site-packages\gtk-2.0\codegen\codegen.py", line 96, in <module>
File "C:\SPython27\lib\site-packages\gtk-2.0\codegen\codegen.py", line 236, in Wrapper
def __init__(self, parser, objinfo, overrides, fp=FileOutput(sys.stdout)):
File "C:\SPython27\lib\site-packages\gtk-2.0\codegen\codegen.py", line 75, in __init__
self.filename = self.fp.name