Re: python gtkhtml problem
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 ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: python gtkhtml problem
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
python gtkhtml problem
Hi! 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? I found these in google, that packages solved this problem (not on maemo), but i'm still getting that error-message. My friends and me trying to write a browser on maemo, first we tried write in C, but in python, it seems to be much more simplier. Maybe an other language would better choise? Thank you! (sorry for my english) -- ZeerOcooL ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers