[maemo-developers] python gtkhtml problem

From: Nyul Zoltán zeerocool9 at gmail.com
Date: Thu Oct 23 12:29:45 EEST 2008
Thank you, that was the problem.

On Thursday 23 October 2008 09:05:31 Marius Gedminas wrote:
> On Wed, Oct 22, 2008 at 11:15:19PM +0200, Nyul Zoltán wrote:
> > I have problem with import gtkhtml in python. I'm getting this:
> >
> > Traceback (most recent call last):
> > File "simple-browser.py", line 1, in ?
> > import gtkhtml2
> > ImportError: No module named gtkhtml2
> >
> > I have scratchbox 4.0.1 and maemo-sdk 4.1
> > I installed python2.5-sdk, python2.5-gtk2,python2.5-gtk2-dev,
> > python-gtkhtml2, python2.5-gnome, python2.5-gnome2,
> > python2.5-gnome2-extras, python2.5-gnome2- extras-dev
> >
> > Why python can't find gtkhtml?
>
> Could it be that you're using the wrong python?  If you run 'python' in
> Scratchbox, I believe you'll get python2.3 that came with Scratchbox
> rather than 2.5 that you installed all those extra packages for.  You
> need to run 'python2.5' explicitly.
>
> HTH,
> Marius Gedminas

-- 

ZeerOcooL

More information about the maemo-developers mailing list