[JdeRobot] "No module named PyQt5" on executing follow_line.py

jsa javierjsa at gmail.com
Wed Mar 1 12:20:49 CET 2017


Hi,

When I try to execute:

python follow_line.py --Ice.Config=followLine.cfg

I get the following error message:

Traceback (most recent call last):
   File "follow_line.py", line 24, in <module>
     from gui.GUI import MainWindow
   File "/home/jsa/master/TeachingRobotics/src/follow_line/gui/GUI.py", 
line 1, in <module>
     from gui.widgets.teleopWidget import TeleopWidget
   File 
"/home/jsa/master/TeachingRobotics/src/follow_line/gui/widgets/teleopWidget.py", 
line 19, in <module>
     import resources_rc
   File 
"/home/jsa/master/TeachingRobotics/src/follow_line/resources_rc.py", 
line 9, in <module>
     from PyQt5 import QtCore
ImportError: No module named PyQt5

However, I do have QtCore and python3-pyqt5 installed:

Requirement already satisfied: PyQt5 in 
/usr/local/lib/python3.5/dist-packages
Requirement already satisfied: sip>=4.19.1 in 
/usr/local/lib/python3.5/dist-packages (from PyQt5)

I presume it is a configuration problem, but I don't know what to do

Thank you




More information about the Jde-developers mailing list