rqt rqt_image_view plugin problem
Hello,
I am using ROS Noetic on Ubuntu 20.04LTS. I installed ROS and it's plugins using apt install. I am able to use all parts of ROS. The only problem is with rqt_image_view plugins. Other plugins of rqt are working well.
After i installed the full desktop version of ros noetic. I found this problem and i tried many ways to solve it. BUt is still can work. So I ran 'sudo apt-get install ros-noetic-rqt
' to installed the rqt again , and i also ran 'sudo apt-get install ros-noetic-rqt-common-plugins
' to installed the common plugins. To avoid omissions, i still ran 'sudo apt-get install ros-noetic-rqt-image-view
'.
But when i ran "rqt_image_view
",
returns:
Could not import "pyqt" bindings of qt_gui_cpp library - so C++ plugins will not be available:
Traceback (most recent call last):
File "/opt/ros/noetic/lib/python3/dist-packages/qt_gui_cpp/cpp_binding_helper.py", line 43, in <module>
from . import libqt_gui_cpp_sip
ImportError: /home/zehou/.local/lib/python3.8/site-packages/PyQt5/Qt/lib/libQt5Core.so.5: version `Qt_5.12' not found (required by /opt/ros/noetic/lib/python3/dist-packages/qt_gui_cpp/libqt_gui_cpp_sip.so)
qt_gui_main() found no plugin matching "rqt_image_view/ImageView"
try passing the option "--force-discover"
It confused me for a long time !! Thank you for your answer !