[osgeo4w-dev] [osgeo4w] #453: Python27 error on QGIS startup

OSGeo4W trac_osgeo4w at osgeo.org
Tue Jan 20 23:50:08 PST 2015


#453: Python27 error on QGIS startup
---------------------+------------------------------------------------------
Reporter:  hhayashi  |       Owner:  osgeo4w-dev@…              
    Type:  defect    |      Status:  new                        
Priority:  major     |   Component:  Package                    
 Version:            |    Keywords:  QGIS                       
---------------------+------------------------------------------------------
 Python27 error occur when I run qgis.bat.

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


 {{{
 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']
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/453>
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