[El] RHEL5: Problem with Qgis 1.6.0 and some python-dependant
plugins
Mauricio Zambrano
mauricio.zambrano at jrc.ec.europa.eu
Tue Mar 29 03:36:33 EDT 2011
On Tue, 2011-03-29 at 00:27 +0200, Volker Fröhlich wrote:
> Could it be, you're missing gdal-python? Gdal-python provides the osgeo
> module.
> Volker
No, I have the gdal-python module.
However, the problem may be a conflict with the gdal-python on my
system:
$ sudo yum provides *gdal-python
Loaded plugins: rhnplugin, security
epel/filelists_db 21%
[=========- ] 1.3 MB/s | 1.0 MB
00:02 ETAepel/filelists_db 46%
[===================== ] 1.5 MB/s | 2.1 MB
00:01 ETAepel/filelists_db 52%
[=======================- ] 1.4 MB/s | 2.4 MB
00:01 ETAepel/filelists_db
| 4.5 MB 00:01
epel-debuginfo/filelists_db
| 1.3 MB 00:03
epel-testing/filelists_db
| 344 kB 00:00
epel-testing-debuginfo/filelists_db
| 67 kB 00:00
rhel-i386-client-5/filelists
| 18 MB 00:01
rhel-i386-client-workstation-5/filelists
| 4.9 MB 00:01
gdal-python-1.7.2-5_0.el5.elgis.i386 : Python modules for the GDAL file
format library
Repo : elgis
Matched from:
Other : gdal-python = 1.7.2-5_0.el5.elgis
gdal-python-1.7.2-5_2.el5.elgis.i386 : Python modules for the GDAL file
format library
Repo : elgis-testing
Matched from:
Other : gdal-python = 1.7.2-5_2.el5.elgis
gdal-python-1.7.3-3_0.el5.elgis.i386 : Python modules for the GDAL file
format library
Repo : elgis-testing
Matched from:
Other : gdal-python = 1.7.3-3_0.el5.elgis
gdal-python-1.7.2-5_1.el5.elgis.i386 : Python modules for the GDAL file
format library
Repo : elgis-testing
Matched from:
Other : gdal-python = 1.7.2-5_1.el5.elgis
gdal-python-1.7.3-1_0.el5.elgis.i386 : Python modules for the GDAL file
format library
Repo : elgis-testing
Matched from:
Other : gdal-python = 1.7.3-1_0.el5.elgis
gdal-python-1.4.2-4.el5.i386 : Python modules for the GDAL file format
library
Repo : epel
Matched from:
Other : gdal-python = 1.4.2-4.el5
gdal-python-1.7.3-3_0.el5.elgis.i386 : Python modules for the GDAL file
format library
Repo : installed
Matched from:
Any hint about how can I overcome this issue ?
Thanks in advance,
Mauricio
--
=======================================================
DISCLAIMER:
"The views expressed are purely those of the writer
and may not in any circumstances be regarded as stating
an official position of the European Commission."
=======================================================
Linux user #454569 -- Ubuntu user #17469
=======================================================
"Go as far as you can see; when you get there,
you'll be able to see farther."
(John Pierpont Morgan)
>
> Am Montag 28 März 2011, 15:06:26 schrieb Mauricio Zambrano:
> > Dear list,
> >
> > While trying to install the '1-band raster Colour Table v1.x' plugin for
> > Qgis 1.6.0, I got the following error message:
> >
> >
> > "You need to install the following python module in order to enable it:
> > numpy"
> >
> > but I already had the 'numpy' library installed on my system, along with
> > both python 2.4 and python 2.6.
> >
> > This problem is reported, with as much detail as I could, in the
> > following thread:
> >
> > http://forum.qgis.org/viewtopic.php?f=5&t=8214.
> >
> >
> > About my Qgis version:
> >
> > qgis-python-1.6.0-3_0.el5.elgis.i386 : Python integration and plugins
> > for Quantum GIS
> > Repo : elgis-plus-testing
> > Matched from:
> > Filename : /usr/lib/python2.6/site-packages/qgis
> >
> >
> >
> > qgis-1.6.0-3_0.el5.elgis.i386 : A user friendly Open Source Geographic
> > Information System
> > Repo : elgis-plus-testing
> > Matched from:
> > Filename : /usr/bin/qgis
> > Other : qgis = 1.6.0-3_0.el5.elgis
> > Filename : /usr/share/qgis
> > Filename : /usr/lib/qgis
> >
> >
> >
> > qgis-1.6.0-3_0.el5.elgis.i386 : A user friendly Open Source Geographic
> > Information System
> > Repo : installed
> > Matched from:
> > Filename : /usr/bin/qgis
> >
> >
> > After a while, I realised that the real problem was that some Qgis
> > plugins only detect python 2.4 and its associated libraries.
> >
> > For example, this morning the IT manager of my unit installed numpy for
> > the python2.6 version of my system (at that moment I realised that numpy
> > needs to be installed for each python version present in the system),
> > and the numpy error message (at the beginning of this e-mail)
> > disappeared.
> >
> > However, I got this new error message:
> >
> > "You need to install the following python module in order to enable it:
> > osgeo"
> >
> > and in another thread
> > (http://www.osgeo.org/pipermail/gdal-dev/2008-August/017923.html)
> > somebody guessed that the problem was that the "path where gdal library
> > was installed is not available to loader"
> >
> > and suggested trying this:
> >
> > export LD_LIBRARY_PATH=/usr/lib/libgdal.so
> >
> >
> > I tried it, but I'm still getting the same error.
> >
> > Here is the messages that I got form the console while launching Qgis:
> >
> >
> > $ qgis&
> > [1] 25819
> > $ Python support ENABLED :-)
> > Loaded : __error__ (package: bcccoltbl1)
> > Loaded : manageR (package: manageR)
> > Loaded : SRTM elevation importer for Qgis (package: qgissrtm)
> > Loaded : Elevation (package: elevation)
> > Loaded : Value Tool (package: valuetool)
> > Loaded : Geoprocessing (package: geoprocessing)
> > /usr/lib/python2.6/site-packages/qgis/utils.py:279: DeprecationWarning: the
> > sets module is deprecated mod = _builtin_import(name, globals, locals,
> > fromlist, level)
> > Loaded : fTools (package: fTools)
> > Loaded : Watermark Plugin (package: watermark)
> > Loaded : EasyPrint (package: easyprint)
> > Loaded : TopoColour (package: topocolour)
> > Loaded : DumpLoadField (package: dumpfield)
> > Loaded : Plugin Installer (package: plugin_installer)
> > Warning: QHttp: empty path requested is invalid -- using '/'
> >
> >
> > About my libgdal.so:
> >
> > $sudo yum provides *libgdal.so
> > [sudo] password for zambrhe:
> > Loaded plugins: rhnplugin, security
> > gdal-devel-1.7.2-5_0.el5.elgis.i386 : Development Libraries for the GDAL
> > file
> >
> > : format library
> >
> > Repo : elgis
> > Matched from:
> > Filename : /usr/lib/libgdal.so
> >
> >
> >
> > gdal-devel-1.7.3-3_0.el5.elgis.i386 : Development Libraries for the GDAL
> > file
> >
> > : format library
> >
> > Repo : elgis-testing
> > Matched from:
> > Filename : /usr/lib/libgdal.so
> >
> >
> >
> > gdal-devel-1.7.2-5_2.el5.elgis.i386 : Development Libraries for the GDAL
> > file
> >
> > : format library
> >
> > Repo : elgis-testing
> > Matched from:
> > Filename : /usr/lib/libgdal.so
> >
> >
> >
> > gdal-devel-1.7.2-5_1.el5.elgis.i386 : Development Libraries for the GDAL
> > file
> >
> > : format library
> >
> > Repo : elgis-testing
> > Matched from:
> > Filename : /usr/lib/libgdal.so
> >
> >
> >
> > gdal-devel-1.7.3-1_0.el5.elgis.i386 : Development Libraries for the GDAL
> > file
> >
> > : format library
> >
> > Repo : elgis-testing
> > Matched from:
> > Filename : /usr/lib/libgdal.so
> >
> >
> >
> > ogdi-3.2.0-0.12.beta2.el5.i386 : Open Geographic Datastore Interface
> > Repo : epel
> > Matched from:
> > Filename : /usr/lib/ogdi/libgdal.so
> > Other : libgdal.so
> >
> >
> >
> > gdal-devel-1.4.2-4.el5.i386 : Development Libraries for the GDAL file
> > format
> >
> > : library
> >
> > Repo : epel
> > Matched from:
> > Filename : /usr/lib/libgdal.so
> >
> >
> >
> > ogdi-3.2.0-0.12.beta2.el5.i386 : Open Geographic Datastore Interface
> > Repo : installed
> > Matched from:
> > Filename : /usr/lib/ogdi/libgdal.so
> > Other : libgdal.so
> >
> >
> >
> > gdal-devel-1.7.3-3_0.el5.elgis.i386 : Development Libraries for the GDAL
> > file
> >
> > : format library
> >
> > Repo : installed
> > Matched from:
> > Filename : /usr/lib/libgdal.so
> >
> >
> > I would really appreciate any help about how to make Qgis may install the
> > '1-band raster Colour Table v1.x' plugin, or how to make that Qgis may
> > detect the gdal version of my system.
> >
> > Thanks in advance,
> >
> > Mauricio
>
More information about the el
mailing list