Python 3.x 在覆盆子皮上运行PyQt5-“;PyQt5.“QopengelFunctions”ES2;错误

Python 3.x 在覆盆子皮上运行PyQt5-“;PyQt5.“QopengelFunctions”ES2;错误,python-3.x,raspberry-pi,pyqt5,raspbian,debian-buster,Python 3.x,Raspberry Pi,Pyqt5,Raspbian,Debian Buster,我在Raspberry Pi 4上运行PyQt5时遇到问题 我使用raspberry pi 4,版本10(buster)内核版本4.19.75-v71 默认的python是3.7.3 我遵循了与本线程中提到的安装sip和PyQt5完全相同的步骤。我还按照前面提到的线程中介绍的步骤安装了python 3.6.0 在完成安装且没有任何错误后,当我运行代码时,我会遇到以下错误消息: qt5ct: using qt5ct plugin QEGLPlatformContext: Failed to cr

我在Raspberry Pi 4上运行PyQt5时遇到问题

我使用raspberry pi 4,版本10(buster)内核版本4.19.75-v71

默认的python是3.7.3

我遵循了与本线程中提到的安装sip和PyQt5完全相同的步骤。我还按照前面提到的线程中介绍的步骤安装了python 3.6.0

在完成安装且没有任何错误后,当我运行代码时,我会遇到以下错误消息:

qt5ct: using qt5ct plugin

QEGLPlatformContext: Failed to create context: 3009

QOpenGLWindow::beginPaint: Failed to create context

QOpenGLWindow::beginPaint: Failed to make context current

Traceback (most recent call last):

  File "my_code.py", line 68, in initializeGL

    self.gl = self.context().versionFunctions()

AttributeError: module 'PyQt5._QOpenGLFunctions_ES2' has no attribute 'QOpenGLFunctions_ES2'

Aborted
如何克服这个问题有什么指导吗?非常感谢。提前谢谢

PS代码在Win10上运行平稳。因此,代码本身必须没有问题。(Win10上的环境是:numpy=1.14.3;numpy stl=2.5.0;pyqt5=5.10.1;sip=4.19.8;six=1.11.0;python=3.6.0;python utils=2.3.0)