[osgeo4w-dev] [osgeo4w] #669: Modules missing in OSGeo4w installation since since QGIS 3.18 update

OSGeo4W trac_osgeo4w at osgeo.org
Fri Mar 26 12:36:56 PDT 2021


#669: Modules missing in OSGeo4w installation since since QGIS 3.18 update
---------------------+----------------------------
Reporter:  jelstner  |       Owner:  osgeo4w-dev@…
    Type:  defect    |      Status:  reopened
Priority:  major     |   Component:  Installer
 Version:            |  Resolution:
Keywords:            |
---------------------+----------------------------

Comment (by andreaerdna):

 jef, jelstner wants to say that while **importing from qgis.core fails**
 using python-qgis in the **OSGeo4W testing** shell:

 {{{
 C:\OSGeo4W64_new\bin>python-qgis.bat
 Python 3.9.0 (tags/v3.9.0:9cf6752, Oct  5 2020, 15:34:40) [MSC v.1927 64
 bit (AMD64)] on win32
 Type "help", "copyright", "credits" or "license" for more information.
 >>> from qgis.core import QgsFeature
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "C:\OSGEO4~2\apps\qgis\python\qgis\__init__.py", line 70, in
 <module>
     from qgis.PyQt import QtCore
   File "C:\OSGEO4~2\apps\qgis\python\qgis\PyQt\QtCore.py", line 24, in
 <module>
     from PyQt5.QtCore import *
 ImportError: DLL load failed while importing QtCore: The specified module
 could not be found.
 >>>
 }}}

 instead there are **no errors** using the **OSGeo4W regular (non
 testing)** shell:


 {{{
 F:\QGIS\OSGeo4W_3.18.1\qgis>python-qgis.bat
 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.
 >>> from qgis.core import QgsFeature
 >>>
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/669#comment:9>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the osgeo4w-dev mailing list