On Sat, 01 Nov 2003 15:05:07 -0800
[EMAIL PROTECTED] wrote:
> I get this when I try to run IceWMCP, which I installed with Urpmi.
>
> Traceback (most recent call last):
> File "./IceWMCP.py", line 21, in ?
> import os,GTK,gtk,sys,glob
> ImportError: No module named GTK
Are you using Mandrake 9.2. If so you have to hack the scripts in
IceWMCP. This is because 9.2 has pygtk2 and IceWMCP uses python with
GTK1. Make sure you have the following installed:-
pygtk-0.6.11-4mdk
pygtk2.0-2.0.0-2mdk
pygtk-wrapper-2.0.0-2mdk
the wrapper alows pygtk1 the old pygtk package to live in parallel with
pygtk2.0.
Now add the following at the start of IceWMCP.py
import pygtk
pygtk.require("1.2")
Make sure it comes before any import statements.
This also has to be done for all the executables that IceWMCP calls eg.
iceme, icprefs etc.
I'm just going to wait for the GTK2 port.
Good luck
Nigel
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com