<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>I've used the OSGeo4W setup to install PyQt5 and then ran: </div><div>import PyQt5.QtCore </div><div>from a python shell (OSGeo4W.bat with qt5_env, py3_env inside) </div><div>I'm getting the following error:</div><div><br></div><div><div>D:\OSGeo4W64>python</div><div>Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32</div><div>Type "help", "copyright", "credits" or "license" for more information.</div><div>>>> import PyQt5.QtCore</div><div>Traceback (most recent call last):</div><div>  File "<stdin>", line 1, in <module></div><div>SystemError: initialization of QtCore failed without raising an exception</div><div>>>></div></div><div><br></div><div>Running the same command in a QGIS python shell works fine (same batch file)</div><div>Please advise.</div><div><br></div><div>Kind regards,</div><div>Idan</div><div><br></div></div></div></div></div></div></div></div>