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
按作者提供的绿色环境,编译窗体时一直提示错误。无法进行编译,如果选择编译所有窗体,倒是能生成.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文件了。
你好,我在学习第9章qtpandas时运行示例程序pandas_pyqt.py时,生成窗口后,在数据表的列名处单击鼠标,会弹出错误:
File “C:\Anaconda3\lib\site-packages\qtpandas-1.0.4-py3.6.egg\qtpandas\models\DataFrameModel.py”, line 557, in sort
self._dataFrame.sort(column, ascending=not bool(order), inplace=True)
File “C:\Anaconda3\lib\site-packages\pandas\core\generic.py”, line 3614, in getattr
return object.getattribute(self, name)
AttributeError: ‘DataFrame’ object has no attribute ‘sort’
我自己写的程序也是这个问题,请教。