<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=ES link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Try to run: </p><p class=MsoNormal>python3 follow_line.py --Ice.Config=followLine.cfg</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>You ate running the practice with python2 instead of python3</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Regards, Aitor<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='border:none;padding:0cm'><b>De: </b><a href="mailto:javierjsa@gmail.com">jsa</a><br><b>Enviado: </b>miércoles, 1 de marzo de 2017 12:20<br><b>Para: </b><a href="mailto:jde-developers@gsyc.urjc.es">jde-developers@gsyc.urjc.es</a><br><b>Asunto: </b>[JdeRobot] "No module named PyQt5" on executing follow_line.py</p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi,</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>When I try to execute:</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>python follow_line.py --Ice.Config=followLine.cfg</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I get the following error message:</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Traceback (most recent call last):</p><p class=MsoNormal> File "follow_line.py", line 24, in <module></p><p class=MsoNormal> from gui.GUI import MainWindow</p><p class=MsoNormal> File "/home/jsa/master/TeachingRobotics/src/follow_line/gui/GUI.py", </p><p class=MsoNormal>line 1, in <module></p><p class=MsoNormal> from gui.widgets.teleopWidget import TeleopWidget</p><p class=MsoNormal> File </p><p class=MsoNormal>"/home/jsa/master/TeachingRobotics/src/follow_line/gui/widgets/teleopWidget.py", </p><p class=MsoNormal>line 19, in <module></p><p class=MsoNormal> import resources_rc</p><p class=MsoNormal> File </p><p class=MsoNormal>"/home/jsa/master/TeachingRobotics/src/follow_line/resources_rc.py", </p><p class=MsoNormal>line 9, in <module></p><p class=MsoNormal> from PyQt5 import QtCore</p><p class=MsoNormal>ImportError: No module named PyQt5</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>However, I do have QtCore and python3-pyqt5 installed:</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Requirement already satisfied: PyQt5 in </p><p class=MsoNormal>/usr/local/lib/python3.5/dist-packages</p><p class=MsoNormal>Requirement already satisfied: sip>=4.19.1 in </p><p class=MsoNormal>/usr/local/lib/python3.5/dist-packages (from PyQt5)</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I presume it is a configuration problem, but I don't know what to do</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thank you</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>_______________________________________________</p><p class=MsoNormal>Jde-developers mailing list</p><p class=MsoNormal>Jde-developers@gsyc.urjc.es</p><p class=MsoNormal>https://gsyc.urjc.es/cgi-bin/mailman/listinfo/jde-developers</p><p class=MsoNormal><o:p> </o:p></p></div></body></html>