[Qgis-developer] Unable to load GdalTools plugin. The required "osgeo [python-gdal]" module is missing.
Anita Graser
anitagraser at gmx.at
Sat Oct 4 02:53:48 PDT 2014
Hi,
Some problems with OSGeo4W nightly:
Unable to load GdalTools plugin.
The required "osgeo [python-gdal]" module is missing.
Install it and try again.
In the OSGeo4W installer, there is no python-gdal, only gdal-python and
it's installed in version 1.11.1-1.
This breaks the Gdal Tools plugin.
Additionally, I also get an error related to Processing and mission osgeo
module:
Couldn't load plugin 'processing' from
['C:/OSGeo4W/apps/qgis-dev/./python', 'C:/Users/Anita/.qgis2/python',
'C:/Users/Anita/.qgis2/python/plugins',
'C:/OSGeo4W/apps/qgis-dev/./python/plugins',
'C:\OSGeo4W\apps\Python27\lib\site-packages\distribute-0.6.49-py2.7.egg',
'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\GDAL-1.11.1-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',
'C:\OSGeo4W\apps\qgis-dev\python\plugins\fTools\tools']
Traceback (most recent call last):
File "C:/OSGeo4W/apps/qgis-dev/./python\qgis\utils.py", line 185, in
loadPlugin
__import__(packageName)
File "C:/OSGeo4W/apps/qgis-dev/./python\qgis\utils.py", line 460, in
_import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/OSGeo4W/apps/qgis-dev/./python/plugins\processing\__init__.py",
line 29, in
from processing.tools.general import *
File "C:/OSGeo4W/apps/qgis-dev/./python\qgis\utils.py", line 460, in
_import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"C:/OSGeo4W/apps/qgis-dev/./python/plugins\processing\tools\general.py",
line 29, in
from processing.core.Processing import Processing
File "C:/OSGeo4W/apps/qgis-dev/./python\qgis\utils.py", line 460, in
_import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"C:/OSGeo4W/apps/qgis-dev/./python/plugins\processing\core\Processing.py",
line 48, in
from processing.algs.qgis.QGISAlgorithmProvider import
QGISAlgorithmProvider
File "C:/OSGeo4W/apps/qgis-dev/./python\qgis\utils.py", line 460, in
_import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"C:/OSGeo4W/apps/qgis-dev/./python/plugins\processing\algs\qgis\QGISAlgorithmProvider.py",
line 89, in
from RasterLayerStatistics import RasterLayerStatistics
File "C:/OSGeo4W/apps/qgis-dev/./python\qgis\utils.py", line 460, in
_import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"C:/OSGeo4W/apps/qgis-dev/./python/plugins\processing\algs\qgis\RasterLayerStatistics.py",
line 36, in
from processing.tools import raster
File "C:/OSGeo4W/apps/qgis-dev/./python\qgis\utils.py", line 460, in
_import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"C:/OSGeo4W/apps/qgis-dev/./python/plugins\processing\tools\raster.py",
line 30, in
from osgeo import gdal
File "C:/OSGeo4W/apps/qgis-dev/./python\qgis\utils.py", line 460, in
_import
mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError: No module named osgeo
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, 30dd6e7
Python path: ['C:/OSGeo4W/apps/qgis-dev/./python',
u'C:/Users/Anita/.qgis2/python', u'C:/Users/Anita/.qgis2/python/plugins',
'C:/OSGeo4W/apps/qgis-dev/./python/plugins',
'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\distribute-0.6.49-py2.7.egg',
'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\\GDAL-1.11.1-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',
'C:\\OSGeo4W\\apps\\qgis-dev\\python\\plugins\\fTools\\tools']
As far as I can tell, I did not change anything on my system except for
doing regular updates using the OSGeo4W installer.
Best wishes,
Anita
--
anitagraser.com
More information about the Qgis-developer
mailing list