fkie / multimaster_fkie

ROS stack with FKIE packages for multi-robot (discovering, synchronizing and management GUI)
BSD 3-Clause "New" or "Revised" License
272 stars 106 forks source link

ImportError: No module named QtWebKitWidgets #110

Closed tahsinkose closed 5 years ago

tahsinkose commented 5 years ago

Hi,

I have successfully executed master_discovery and master_sync nodes. However, when I want to execute node_manager, I encounter this problem. After some digging on the net, I've found that PyQt5.qtwebkit package is only available in Python3. The problem is that I use Python2.7 in ROS (inevitably). Is there a workaround on this?

EDIT: I have installed PyQt5 on a x86_64 Ubuntu 16.04 and from PyQt5 import QtWebKitWidgets command has successfully executed. However, I encounter with this problem on Raspberry Pi 3B+ and seemingly it is not included in the ARM version of PyQt5 shared libraries under /usr/lib/python2.7/dist-packages/PyQt5.

EDIT-2: This comment in RPi Stack Exchange has solved my problem. Since PyQt5 is installed with only core packages, further installation is required. In my case it was: sudo apt-get install python-pyqt5.qtwebkit.