[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian Sid and python-gtk2



Il mar, 2002-09-24 alle 14:51, Knut Erik Berg ha scritto:
> Hello.
> 
> I'm new to both mailing lists and debian. I have a question about
> python-gtk2. I'm using debian sid, python 2.2.1 and
> python-gtk2-1.99.13-2. The problem is that I cannot import the

if you're using the python2.2-gtk package you should do something like:

import pygtk
pygtk.require('2.0')

from gtk import *
...

-- 
Federico Di Gregorio
Debian GNU/Linux Developer & Italian Press Contact        fog@debian.org
INIT.D Developer                                           fog@initd.org
  All'inizio ho scritto un programma proprietario, in esclusiva per il
   cliente; è stato tristissimo, perchè mi ha succhiato un pezzo di
   anima.                                           -- Alessandro Rubini

Attachment: signature.asc
Description: PGP signature


Reply to: