Le dimanche 11 septembre 2005 à 15:00 +0200, Yann Dirson a écrit :
> Package: python2.3-gnome2
> Version: 2.10.0-2
> Severity: serious
> 
> $ python
> Python 2.3.5 (#2, Aug 30 2005, 15:50:26)
> [GCC 4.0.2 20050821 (prerelease) (Debian 4.0.1-6)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import gnome.canvas
> /usr/lib/python2.3/site-packages/gtk-2.0/gnome/canvas.py:4: 
> DeprecationWarning: Module gnome.canvas is deprecated; please import 
> gnomecanvas instead
>   DeprecationWarning)
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File "/usr/lib/python2.3/site-packages/gtk-2.0/gnome/canvas.py", line 7, in 
> ?
>     from gnomecanvas import *
> ImportError: could not import gtk._gtk
> >>>                       
> 
> Only python2.3-gtk2 seems to provide a shared lib with a similar name,
> but I suppose gnome.canvas is looking for a .py file, which does not
> exist.  Feel free to reassign to python2.3-gtk2 if appropriate.

Hi,

Do you have a '/usr/lib/python2.3/site-packages/gtk-2.0/gnomecanvas.so'
file installed?






Reply via email to