gasp-dev team mailing list archive
-
gasp-dev team
-
Mailing list archive
-
Message #00098
Re: [Question #81134]: installing gasp (ImportError: No module named glib)
Question #81134 on GASP Core changed:
https://answers.launchpad.net/gasp-core/+question/81134
Kasey requested for more information:
I was having the same problem. So I tried running the installer. When
I ran the installer under Vista, it would give me 3 errors during
installation. "Could not create: gasp-py2.6"; "Could not set key
value: Python 2.6 gasp-0.3.2"; and "C:\Python26\Removegasp.ext" -u
"C:\Python26\gasp-wininst.log". After a while, I tried running the
installer with admin privileges and it didn't give me those error
messages.
However, now when I try to run a simple program using GASP, I get an
endless sequence of console errors and efforts to open a window and the
window closes. Here is the text of the script I was trying to run:
from gasp import *
begin_graphics()
Line((200,100),(100,300))
update_when('key_pressed')
end_graphics()
I'm wondering if the problem with not getting GASP to work has to do
with gtk+. I'm guessing that because the instructions for installing
gasp said this:
BEGIN QUOTE:
3. Microsoft Windows
There is an .EXE installer for GASP which can be downloaded from launchpad.net. In order for GASP to work, you must install the following packages first:
PyGTK
PyCairo
PyGObject
GTK+
END QUOTE
Now, PyGTK, PyCairo, and PyGObject all have installers that are .exe and
ran without issue on my system. The GTK+ didn't have that kind of
installer. Not knowing which gtk+ to download, I downloaded the 23mb
bundle with everything and followed the readme instructions to:
Then add the bin folder to your PATH. Make sure you have no other
versions of GTK+ in PATH. Run:
pkg-config --cflags gtk+-2.0
and verify that it prints out something reasonable. Run:
gtk-demo
and verify that it works.
The gtk-demo works fine on my system. The path only has one reference to
the bin folder of GTK+.
--
You received this question notification because you are a member of GASP
Development Team, which is an answer contact for GASP Core.