[maemo-developers] python gtkhtml problem
From: Marius Gedminas marius at pov.ltDate: Thu Oct 23 10:05:31 EEST 2008
- Previous message: python gtkhtml problem
- Next message: python gtkhtml problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20081023/c75d494b/attachment.pgp
- Previous message: python gtkhtml problem
- Next message: python gtkhtml problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]