maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Problem using PyQt 4 (https://talk.maemo.org/showthread.php?t=100733)

sega dude 2019-05-03 01:56

Problem using PyQt 4
 
I am trying to use Python and PyQt 4 to develop programs for my N800, but I am getting a runtime error when I try to run in scratchbox (Diablo_X86). This is happening on a newly created, untouched example project created in Eclipse. I am using endsormeans' SOLYDmaemo Maemo Development OS image installed in VirtualBox. The error is below.

Code:

Traceback (most recent call last):
  File "/home/brandon/workspace/pyqthelloworld/src/main.py", line 4, in <module>
    from PyQt4 import QtCore, QtGui
RuntimeError: the sip module implements API v8.0 but the PyQt4.QtCore module requires API v7.0

Line 4 is:
Code:

from PyQt4 import QtCore, QtGui
Any help with this would be appreciated.


All times are GMT. The time now is 22:17.

vBulletin® Version 3.8.8