Hi,

I've used the OSGeo4W setup to install PyQt5 and then ran:
import PyQt5.QtCore
from a python shell (OSGeo4W.bat with qt5_env, py3_env inside)
I'm getting the following error:

D:\OSGeo4W64>python
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit
(AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyQt5.QtCore
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
SystemError: initialization of QtCore failed without raising an exception
>>>

Running the same command in a QGIS python shell works fine (same batch file)
Please advise.

Kind regards,
Idan
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to