Error importing PyQt4.QtCore

2019-09-14 17:10发布

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

0条回答
登录 后发表回答