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

aitor.martinez.fernandez at gmail.com aitor.martinez.fernandez at gmail.com
Wed Mar 1 15:10:41 CET 2017


Try to run: 
python3 follow_line.py --Ice.Config=followLine.cfg

You ate running the practice with python2 instead of python3

Regards, Aitor


De: jsa
Enviado: miércoles, 1 de marzo de 2017 12:20
Para: jde-developers en gsyc.urjc.es
Asunto: [JdeRobot] "No module named PyQt5" on executing follow_line.py

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


_______________________________________________
Jde-developers mailing list
Jde-developers en gsyc.urjc.es
https://gsyc.urjc.es/cgi-bin/mailman/listinfo/jde-developers

------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://gsyc.urjc.es/pipermail/jde-developers/attachments/20170301/aa026829/attachment-0001.html>


More information about the Jde-developers mailing list