Active Topics

 


Reply
Thread Tools
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#11
If you're running inside the SDK, make sure you're using the X86 target and, more importantly, that you are starting the correct interpreter - python2.5 !
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 
Posts: 729 | Thanked: 155 times | Joined on Dec 2009
#12
I tried to start it with "python test.py" and I have installed python2.5-qt4-gui when X86 was selected...
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#13
Try

python2.5 test.py
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 
omeriko9's Avatar
Posts: 385 | Thanked: 344 times | Joined on Jan 2010 @ Israel
#14
Hi,

I'm having the same problem:
"ImportError: No module named PyQt4" and the code doesn't compile.

Has anyone managed to solve this?

Also:
I've looked for python code on the n900 that might contain any "import PyQt4" inside - "grep -ir pyqt4 /" but it took too long so i stopped.

I also tried, on the n900 itself, to execute the python interpreter - and write "import PyQt4" - the same error.

Anything I'm missing here?... thank you in advance!!
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#15
Have you checked the instructions from the beginning of this thread (enabling extras-devel and apt-getting pyqt ?).
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 
omeriko9's Avatar
Posts: 385 | Thanked: 344 times | Joined on Jan 2010 @ Israel
#16
I'm talking about the emulator (X) not the device itself... I'm trying to compile the code on ESBox - and it won't compile.

I've been reading this thread (and many others) and still can't figure out how to compile the simple pyqthelloworld sample built-in the ESBox...

AFAIK, I can't enable extras-devel on the emulator...

EDIT: I think I'm getting off-topic here... so I've opened another thread:
http://talk.maemo.org/showthread.php...446#post497446

Last edited by omeriko9; 2010-01-27 at 14:02.
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:36.