Opened 10 years ago

Closed 10 years ago

#453 closed defect (fixed)

Python27 error on QGIS startup

Reported by: hhayashi Owned by: osgeo4w-dev@…
Priority: major Component: Package
Version: Keywords: QGIS
Cc:

Description (last modified by jef)

Python27 error occur when I run qgis.bat.

I already re-install osgeo4w after #452: QGIS require "qwt.dll" ticket (Thank you Juergen).

Couldn't load plugin 'processing' from ['C:/OSGeo4W/apps/qgis/./python', 'C:/Users/qgisdev/.qgis2/python', 'C:/Users/qgisdev/.qgis2/python/plugins', 'C:/OSGeo4W/apps/qgis/./python/plugins', '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\bin', 'C:\OSGeo4W\apps\Python27', 'C:\OSGeo4W\apps\Python27\lib\site-packages', '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', 'C:\OSGeo4W\apps\qgis\python\plugins\fTools\tools']


Traceback (most recent call last):
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 185, in loadPlugin
    __import__(packageName)
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 460, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\__init__.py", line 29, in 
    from processing.tools.general import *
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 460, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\tools\general.py", line 29, in 
    from processing.core.Processing import Processing
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 460, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\core\Processing.py", line 51, in 
    from processing.algs.qgis.QGISAlgorithmProvider import QGISAlgorithmProvider
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 460, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\algs\qgis\QGISAlgorithmProvider.py", line 89, in 
    from RasterLayerStatistics import RasterLayerStatistics
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 460, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\algs\qgis\RasterLayerStatistics.py", line 36, in 
    from processing.tools import raster
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 460, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\tools\raster.py", line 29, in 
    import numpy
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 460, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\OSGeo4W\apps\Python27\lib\site-packages\numpy\__init__.py", line 136, in 
    import add_newdocs
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 460, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\OSGeo4W\apps\Python27\lib\site-packages\numpy\add_newdocs.py", line 9, in 
    from numpy.lib import add_newdoc
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 460, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\OSGeo4W\apps\Python27\lib\site-packages\numpy\lib\__init__.py", line 4, in 
    from type_check import *
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 460, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\OSGeo4W\apps\Python27\lib\site-packages\numpy\lib\type_check.py", line 8, in 
    import numpy.core.numeric as _nx
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 460, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\OSGeo4W\apps\Python27\lib\site-packages\numpy\core\__init__.py", line 5, in 
    import multiarray
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 460, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError: DLL load failed: The specified module could not be found.


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


QGIS version:
2.6.1-Brighton Brighton, exported

Python path: ['C:/OSGeo4W/apps/qgis/./python', u'C:/Users/qgisdev/.qgis2/python', u'C:/Users/qgisdev/.qgis2/python/plugins', 'C:/OSGeo4W/apps/qgis/./python/plugins', '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\\bin', 'C:\\OSGeo4W\\apps\\Python27', 'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages', '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', 'C:\\OSGeo4W\\apps\\qgis\\python\\plugins\\fTools\\tools']

Attachments (1)

qgiserr.gif (197.2 KB ) - added by hhayashi 10 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 by jef, 10 years ago

Description: modified (diff)

by hhayashi, 10 years ago

Attachment: qgiserr.gif added

comment:2 by jef, 10 years ago

Resolution: fixed
Status: newclosed

apparently fixed by promoting python-numpy 2.7-1.7.0-1 from experimental to current (BTW I'm Juergen not Jeff)

Note: See TracTickets for help on using tickets.