GASP cannot be imported on Windows (No module named glib)

Bug #420756 reported by Luke Faraone
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GASP Core
Fix Released
High
Unassigned

Bug Description

I'm trying to get GASP to work for Python 2.6 (winXP) so i can do the exersises in http://openbookproject.net//thinkCSpy to learn python.
when i try and import gasp I get the folowing error:

>>> import gasp

Traceback (most recent call last):
  File "<pyshell#18>", line 1, in <module>
    import gasp
  File "C:\Python26\lib\site-packages\gasp\__init__.py", line 15, in <module>
    from api import *
  File "C:\Python26\lib\site-packages\gasp\api.py", line 26, in <module>
    import backend
  File "C:\Python26\lib\site-packages\gasp\backend.py", line 31, in <module>
    from glib import GError
ImportError: No module named glib

I looked up glib and it appears that its part of gtk+ (or so I gathered from a google search) which seems to be working fine
importing gtk works fine but if i try importing glib i get
Traceback (most recent call last):
  File "<pyshell#21>", line 1, in <module>
    import glib
ImportError: No module named glib

any ideas how to fix this?

(from LP question)

Revision history for this message
Luke Faraone (lfaraone) wrote :

Hi, this will be fixed in a new .exe release shortly.

Changed in gasp-core:
importance: Undecided → High
status: New → Fix Committed
status: Fix Committed → Fix Released
Revision history for this message
Luke Faraone (lfaraone) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.