[maemo-developers] scratchbox problem after new installation

From: Chris Mcnally expectspam2 at pobox.com
Date: Sat Oct 27 16:35:50 EEST 2007
Mathias Uebelacker wrote:
>
>> > after installation, solving the resolve problem (thanks to Marius) and
>> > installing python via apt-get the basic problem is still the same. 
>> Every
>> > time i call the run-standalone.sh ./myscript.py i get the error:
>> > > File "./myscript.py", line 2, in ?
>> > import gtk > ImportError: No module named gtk
I believe the answer to your problem, which I had too, can be found here:

http://www.progbox.co.uk/wordpress/?p=359

change your run command to this:

run-standalone.sh /usr/bin/python2.5 your_program.py

It's because Python 2.3 is originally installed in scratchbox you need 
to specify python 2.5. This fixed it for me.

regards,

chris m

>
> |
>
>
>


More information about the maemo-developers mailing list