<div dir="ltr"><div><div><div>I have installed vtkpython 6.3.0.rc1 and pyQt5.2.1 manually.<br><br></div>If I run a python script then it is working well without any error.<br><br></div>But, if i run in "vtkpython" interpretor mode, i have following errors.</div><div><div><div><div><br>I have set the <b>$PYTHONHOME </b>to contain <b>PyQt5 </b>but still problem exists.<br><br><b>export PYTHONPATH=/usr/lib/python2.7:/usr/lib/python2.7/dist-packages:/usr/local/lib/python2.7/:/usr/local/lib/python2.7/site-packages/usr/lib/python2.7/lib-dynload:$PYTHONPATH<br></b><br>manju@iiitb-gvcl-Z800:~/manju/qt$vtkpython<br>vtk version 6.3.0<br><b>Could not find platform independent libraries <prefix><br>Could not find platform dependent libraries <exec_prefix><br>Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]<br></b>Python 2.7.2 (default, Feb 12 2015, 18:30:44) <br>[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2<br>Type "help", "copyright", "credits" or "license" for more information.<br>>>> <br><b>>>> from PyQt5.QtWidgets import *</b><br>Traceback (most recent call last):<br> File "<stdin>", line 1, in <module><br>ImportError: /usr/lib/python2.7/dist-packages/sip.so: undefined symbol: PyUnicodeUCS4_DecodeUTF8<br><b>>>> from PyQt5.QtWidgets import QApplication, QDialog</b><br>Traceback (most recent call last):<br> File "<stdin>", line 1, in <module><br>ImportError: cannot import name QApplication<br><br><b>No error for below code</b><br>>>> from PyQt5 import *<br>>>> <br><br></div><div>Please help.<br><br></div><div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font color="#ff0000"> </font><font color="#ff6600">Thanks and Regards,</font></div><div><font color="#3366ff"></font></div><div><span style="color:rgb(51,102,255)"> Manjunath K E</span><font color="#3366ff"></font></div><div><font color="#3366ff"><span style="color:rgb(241,194,50)"> Help Ever Hurt Never</span><br></font></div><div><font color="#3366ff"> </font></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div></div></div></div>