问题
I've been trying to get some GUI apps based on PyQt to run.
Somewhere in the PPython scripts is the following import:
from PyQt4.QtCore import *
This is the error that I keep getting consistently.
RuntimeError: the sip module implements API v8.0 to v8.1 but the PyQt4.QtCore module requires API v7.1
Why is this happening? How do I get sip to use the right API?
Thanks
来源:https://stackoverflow.com/questions/11142358/error-importing-pyqt4-qtcore