File “install.py”, line 1616, in <module> main(sys.argv) File “install.py”, line 1441, in main initGlobals() File “install.py”, line 257, in initGlobals from PyQt5.QtCore import QLibraryInfo RuntimeError: the sip module implements API v12.0 to v12.3 but the PyQt5.QtCore module requires API v12.4
老师,您好!我运行qt04_painter.py时出现QPaintDevice:Cannot destroy paint device that is being painted 的错误,请问这个怎么处理?
另外,我想请教老师您一个问题,如何在打印时设置纸张尺寸。
按作者提供的绿色环境,编译窗体时一直提示错误。无法进行编译,如果选择编译所有窗体,倒是能生成.py文件。

各位,你们好:我有一个问题请教:我在树莓派上开发了一个工程,原来使用Tkinter做界面,速度太慢了,不实用。现在改用pyqt5,我刚刚购买了《pyqt5快速开发与实战》一书,按照书上介绍,需要在win7安装pyqt5和python3,在win7上做好界面,再把程序拷贝到u盘,编译,试运行,这样做势必大大降低开发速度?我希望吧pyqt5安装在树莓派linux操作系统上,有哪位高手,请指教,我非常感谢
“元组”写错了
请教一个问题,关于PyQt5与eric6兼容的问题
我以前安装了PyQt5.9,后来按照书本的建议安装Eric6之前安装了Qsci模块,该模块安装完后将我的PyQt改安装成PyQt5.10.1:
Installing collected packages: PyQt5, Qscintilla
Found existing installation: PyQt5 5.10
Uninstalling PyQt5-5.10
Successfully uninstalled PyQt5-5.10
Successfully installed PyQt5-5.10.1 Qscintilla-2.10.3
但Eric6不兼容PyQt5-5.10:
Traceback (most recent call last):
此时,将PyQt5-5.10卸载后,再安装5.9版本时,会遇到重新安装成5.10:
Collecting pyqt5
Using cached PyQt5-5.10.1-5.10.1-cp35.cp36.cp37.cp38-none-win32.whl
Requirement already satisfied: sip<4.20,>=4.19.4 in c:\users\ytoy2\appdata\local\programs\python\python35-32\lib\site-packages (from pyqt5)
Installing collected packages: pyqt5
Successfully installed pyqt5-5.10.1
请教如何解决?
此时也无法使用Pyuic5命令来转化ui文件为.py文件了。