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 -- As an aside, UPnP's implementation (which features SOAP, HTTP over multicast/broadcast UDP, and extremely odd XML) is a must-read for fans of unnatural and baroque network protocols. -- Anthony Baxter
signature.asc
Description: Digital signature
_______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers