[Qgis-user] Error when launching QGIS

Giuseppe Sucameli sucameli at faunalia.it
Wed Nov 16 04:53:25 PST 2011


2011/11/16 António Rocha <toyze.rocha at gmail.com>:
> Hello Giuseppe.
> YOu were right: I have two different Pythons in my CentOS.
> Is it possible to change in QGIS what Python installation is using? I mean
> redirecting to the other Python?
> THanks

Let's keep the discussion on the ML, please.

I don't know if there's a way, but maybe somebody knows how
to do it.

Regards.

> 2011/11/16 Giuseppe Sucameli <sucameli at faunalia.it>
>>
>> Even if it doesn't seem the same, it is.
>> Maybe do you have 2 different version of python installed on
>> your OS?
>>
>> The problem is that python-gdal package is probably available on
>> your OS for an old version of python, instead the one used by
>> qgis has not that module.
>>
>> I don't really know how to install a python module for a specified
>> version of python on your OS, just search it on google,
>> but before you need to know what are both the python versions
>> installed, the one used in qgis and the other one.
>>
>> Regards.
>>
>> 2011/11/16 António Rocha <toyze.rocha at gmail.com>:
>> > Hi
>> > I get the following error:
>> > Traceback (most recent call last):
>> >   File "<input>", line 1, in <module>
>> >   File "/usr/lib64/python2.6/site-packages/qgis/utils.py", line 279, in
>> > _import
>> >     mod = _builtin_import(name, globals, locals, fromlist, level)
>> > ImportError: No module named osgeo
>> > So I do not get the same result
>> > 2011/11/16 Giuseppe Sucameli <sucameli at faunalia.it>
>> >>
>> >> Hi António,
>> >>
>> >> 2011/11/16 António Rocha <toyze.rocha at gmail.com>:
>> >> > I tried to reinstall it and I got this message:
>> >> > The plugin depends on some components missing on your system. You
>> >> > need
>> >> > to
>> >> > install the following Python module in order to enable it: osgeo
>> >> > [python-gdal]
>> >> > But I do have this in my machine (in python if I do import osgeo I
>> >> > have
>> >> > this
>> >> > package)
>> >> > Any suggestion?
>> >>
>> >> do you have more python versions installed on board?
>> >> If you try "import osgeo" from QGis plugins->python console do you
>> >> have the same result?
>> >>
>> >> Regards.
>> >>
>> >> > Antonio
>> >> >
>> >> > 2011/11/15 Giuseppe Sucameli <sucameli at faunalia.it>
>> >> >>
>> >> >> Hi António,
>> >> >>
>> >> >> what's the GdalTools plugin installed version?
>> >> >>
>> >> >> Can you install the latest GdalTools version from the plugins
>> >> >> installer (you have to enable experimental plugins) and then
>> >> >> try again?
>> >> >>
>> >> >> Regards.
>> >> >>
>> >> >> 2011/11/15 António Rocha <toyze.rocha at gmail.com>:
>> >> >> > Sorry
>> >> >> > CentOS
>> >> >> > QGIS1.6.0
>> >> >> >
>> >> >> > 2011/11/15 Giovanni Manghi <giovanni.manghi at gmail.com>
>> >> >> >>
>> >> >> >> Olá Antonio,
>> >> >> >>
>> >> >> >> On Tue, 2011-11-15 at 18:01 +0000, António Rocha wrote:
>> >> >> >> > Greetings
>> >> >> >> > When I launch QGIS I get the following error:
>> >> >> >> > Loaded : __error__ (package: GdalTools)
>> >> >> >> > But I have GDAL in my system (1.8.0).
>> >> >> >> > And a Panel with a Python error  that starts with:
>> >> >> >> > "Couldn't load plugin GdalTools due an error whern calling its
>> >> >> >> > classFactory() method
>> >> >> >>
>> >> >> >> What Operating system? installer? qgis version?
>> >> >> >>
>> >> >> >> cheers
>> >> >> >>
>> >> >> >> -- Giovanni --
>> >> >> >>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> > _______________________________________________
>> >> >> > Qgis-user mailing list
>> >> >> > Qgis-user at lists.osgeo.org
>> >> >> > http://lists.osgeo.org/mailman/listinfo/qgis-user
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Giuseppe Sucameli
>> >> >
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Giuseppe Sucameli
>> >
>> >
>>
>>
>>
>> --
>> Giuseppe Sucameli
>
>



-- 
Giuseppe Sucameli



More information about the Qgis-user mailing list