Ubuntu20.04固件 使用pyqt5异常

固件类型:官方提供的固件
固件文件名称:ROC-RK3588S-PC_Ubuntu20.04-Gnome-r21199_v1.0.1b_22
固件下载地址:官网提供的百度网盘地址
Log日志:log.zip

使用

sudo apt install python3-pyqt5* -y

安装完毕后,引用QtGui的时候报错了

ImportError: /usr/lib/python3/dist-packages/PyQt5/QtGui.cpython-38-aarch64-linux-gnu.so: undefined symbol: _ZTI18QOpenGLTimeMonitor, version Qt_5

有碰到同款错误的吗?你们怎么解决的?

tchip_askquestions
log.zip (282 Bytes)

怎么引用的?

本帖最后由 Jakey.Chen 于 2022-11-2 10:17 编辑

799959745 发表于 2022-11-2 09:33
怎么引用的?

正常引用额 也不知道哪里出了问题

firefly@firefly:~$ python3
Python 3.8.10 (default, Jun 22 2022, 20:18:18)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from PyQt5.QtGui import QColor
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /usr/lib/python3/dist-packages/PyQt5/QtGui.cpython-38-aarch64-linux-gnu.so: undefined symbol: _ZTI18QOpenGLTimeMonitor, version Qt_5
>>> 

参考https://wiki.t-firefly.com/zh_CN/Firefly-Linux-Guide/manual_ros.html
更新libqt5opengl5-dev

dengkx 发表于 2022-11-2 15:16
参考https://wiki.t-firefly.com/zh_CN/Firefly-Linux-Guide/manual_ros.html
更新libqt5opengl5-dev

感谢已更新完解决了~

你好。我也遇到了这个问题。请问最后是怎么解决的?参考网址已经打不开了

oathyan 发表于 2023-3-21 12:37
你好。我也遇到了这个问题。请问最后是怎么解决的?参考网址已经打不开了

https://wiki.t-firefly.com/zh_CN/Firefly-Linux-Guide/first_use.html#geng-xin-libqt5opengl5-dev