Traceback (most recent call last): File "H:/lunwen/轴承故障诊断/windNet.py", line 22, in <module> from pyqtgraph import GraphicsLayoutWidget File "D:\Anaconda3\lib\site-packages\pyqtgraph_init_.py", line 17, in <module> from .colors import palette File "D:\Anaconda3\lib\site-packages\pyqtgraph\colors\palette.py", line 1, in <module> from ..Qt import QtGui File "D:\Anaconda3\lib\site-packages\pyqtgraph\Qt_init_.py", line 402, in <module> raise Exception('pyqtgraph requires Qt version >= %d.%d (your version is %s)' % (versionReq[0], versionReq[1], QtVersion)) Exception: pyqtgraph requires Qt version >= 5.12 (your version is 5.9.6)这里的QT是什么
时间: 2023-07-15 17:13:02 浏览: 231
linux 下 pip3 报错“ File “/usr/bin/pip3”, line 9, in from pip import mainImportError: canno”处理
5星 · 资源好评率100%
QT是一个跨平台的C++图形用户界面应用程序开发框架,用于开发GUI程序。在Python中,PyQtGraph是一个基于PyQt和Numpy的Python库,用于在交互式图形窗口中显示数据和图形。该错误提示表明你的PyQtGraph需要Qt版本大于等于5.12,而你的版本为5.9.6,需要升级Qt版本以解决问题。
阅读全文