Python 3.x PyQt5和QtQuick

Python 3.x PyQt5和QtQuick,python-3.x,pyqt,Python 3.x,Pyqt,当我尝试运行PyQt5\examples\quick\tutorials\extensing\chapter1 basics文件夹中的PyQt5 QtQuick示例时,我遇到以下错误: QQmlExpression: Expression file:///(...)/example.qml:17:15 depends on non-NOTIFYable properties: PieChart::name class QWindowsEGLStaticContext *__cde

当我尝试运行PyQt5\examples\quick\tutorials\extensing\chapter1 basics文件夹中的PyQt5 QtQuick示例时,我遇到以下错误:

QQmlExpression: Expression file:///(...)/example.qml:17:15 depends on non-NOTIFYable properties:  
    PieChart::name  
class QWindowsEGLStaticContext *__cdecl QWindowsEGLStaticContext::create(void): Could not initialize egl display: error 12289  

QtQuick: failed to create OpenGL context

运行此示例是否需要配置某些内容?

尝试重新安装、重新启动并启动脚本。在某些情况下,PyQt QtQuick需要在Windows上正常工作。

是否安装了opengl?您是否使用了包含qtopengl的标准pyqt安装?不,我没有安装opengl。我使用了来自Riverbank Computing的二进制软件包。你能解释一下我必须安装什么才能使它工作吗?难以置信,它工作了!我从来没有想过这会是个问题,但似乎OpenGL实际上是在MS Windows中的DirectX之上实现的。但是为什么这个不见了。。。奇怪。