[Qgis-user] QGIS 2.5.0-77 - 78 cannot load python

Mikhail Tchernychev misha at mail.geometrics.com
Mon Sep 15 12:52:24 PDT 2014


Hi,

Just yesterday I discovered that QGIS nightly builds fails to load 
python under Windows.
I am using Os4geoW. The message I get:

Couldn't load PyQGIS.
Python support will be disabled.


Traceback (most recent call last):
   File "", line 1, in
   File "C:/OSGeo4W/apps/qgis-dev/./python\qgis\__init__.py", line 36, in
     from qgis.core import QgsFeature, QgsGeometry
   File "C:/OSGeo4W/apps/qgis-dev/./python\qgis\core\__init__.py", line 1, in
     from qgis._core import *
ImportError: dynamic module does not define init function (init_core)

Python version:
2.7.4 (default, Apr  6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]

QGIS version:
2.5.0-Master 'Master', 342ad2b

Python path:
['C:/OSGeo4W/apps/qgis-dev/./python', u'C:/Users/misha/.qgis2/python', 
u'C:/Users/misha/.qgis2/python/plugins', 
'C:/OSGeo4W/apps/qgis-dev/./python/plugins', 
'C:\\OSGeo4W\\apps\\orfeotoolbox\\python', 'C:\\OSGeo4W\\bin', 
'C:\\OSGeo4W\\bin\\python27.zip', 'C:\\OSGeo4W\\apps\\Python27\\DLLs', 
'C:\\OSGeo4W\\apps\\Python27\\lib', 
'C:\\OSGeo4W\\apps\\Python27\\lib\\plat-win', 
'C:\\OSGeo4W\\apps\\Python27\\lib\\lib-tk', 
'C:\\OSGeo4W\\apps\\Python27', 
'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages', 
'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\GDAL-1.11.0-py2.7-win32.egg', 
'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\PIL', 
'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\jinja2-2.7.2-py2.7.egg', 
'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\markupsafe-0.23-py2.7-win32.egg', 
'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\python_dateutil-2.2-py2.7.egg', 
'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\pytz-2014.2-py2.7.egg', 'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\win32', 
'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\win32\\lib', 
'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\Pythonwin', 
'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\Shapely-1.2.18-py2.7-win32.egg', 
'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\six-1.6.1-py2.7.egg', 
'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode']


When I roll back to previous version everything works fine.


Perhaps some other packages also needs to be updated?


Best Regards

Mikhail







PLEASE NOTE: This message, including any attachments, may include privileged,
confidential and/or inside information. Any dissemination, distribution or copy
of this communication by   anyone other than the intended recipient is strictly
prohibited. If you are not the intended recipient, please notify the sender by
replying to this message and then delete it from your system. Information
provided via electronic media is not guaranteed against defects including
translation and transmission errors. The company accepts no liability for any
damage caused by any virus transmitted by this email.

Geometrics Inc. | 2190 Fortune Drive | San Jose, CA 95131 USA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140915/4892fd9f/attachment.html>


More information about the Qgis-user mailing list