![]() |
Python2.5-Qt4 package on Scratchbox
I am a newbie to N900 and Maemo 5 platform.
I am trying to use PyMaemo on Scratchbox. I installed python2.5 and was successfully able to run 'Hello World" on the scratchbox. now I am trying to use PyQt4 to create a GUI based application. I get the following error: [sbox-FREMANTLE_X86: ~/MyApps] > python2.5 texteditor.py Traceback (most recent call last): File "texteditor.py", line 2, in <module> from PyQt4 import QtGui ImportError: No module named PyQt4 [sbox-FREMANTLE_X86: ~/MyApps] > Now, from the different mail threads I gathered that I need to install the python2.5-qt4 package. I accordingly modified the /etc/apt/sources.list file and added the following deb http://repository.maemo.org/extras-devel fremantle free non-free deb http://repository.maemo.org/extras-testing fremantle free non-free I then used [sbox-FREMANTLE_X86: ~/MyApps] > apt-get update [sbox-FREMANTLE_X86: ~/MyApps] > apt-get install python2.5-qt4 Reading package lists... Done Building dependency tree... Done E: Couldn't find package python2.5-qt4 [sbox-FREMANTLE_X86: ~/MyApps] > Could anyone please help me with this problem. Thanks |
Re: Python2.5-Qt4 package on Scratchbox
try:
deb http://repository.maemo.org/extras-devel/ fremantle free non-free deb http://repository.maemo.org/extras-testing/ fremantle free non-free (note the trailing / at the end of the url) and possibly: fakeroot apt-get update fakeroot apt-get install python2.5-qt4-gui |
All times are GMT. The time now is 11:13. |
vBulletin® Version 3.8.8