[Qgis-user] No python on Fedora 10
Micha Silver
micha at arava.co.il
Sun Dec 21 06:02:20 PST 2008
Micha Silver wrote:
> José María Michia wrote:
>> 2008/12/20 Micha Silver <micha at arava.co.il>
>>
>>> I've just finished setting up a F 10 machine, x86_64 with qgis and GRASS. I got the qgis rpms from the silfreed.net repo. It seems python isn't recognized.
>>> Here's are qgis packages:
>>> [micha at hayun-33 ~]$ rpm -qa | grep qgis
>>> qgis-grass-1.0.0-0.1.pre2.fc10.x86_64
>>> qgis-python-1.0.0-0.1.pre2.fc10.x86_64
>>> qgis-1.0.0-0.1.pre2.fc10.x86_64
>>> qgis-theme-classic-1.0.0-0.1.pre2.fc10.x86_64
>>>
>>> and:
>>> [micha at hayun-33 ~]$ python -V
>>> Python 2.5.2
>>>
>>> But no python plugins, and no python console.
>>> What have I missed?
>>>
>>> (Interstingly, GRASS 6.3.0 starts up on this machine with the wxPython interface straight away.)
>>>
>>
>> I've had problems with Python plugins, in QGIS, and I've solved these
>> problems by adding some paths to the system variable "PYTHONPATH"
>>
>> In my system:
>>
>> export PYTHONPATH=.:/usr/lib/python2.5/site-packages:/usr/local/share/qgis/python
>>
>>
> Thanks. I tried that, but no joy. There was no env variable
> PYTHONPATH. So I added it with:
> export
> PYTHONPATH=/usr/lib64/python2.5/site-packages:/usr/share/qgis/python
> Still no python plugins.
> Micha
I think I've found the problem: Comparing with an Ubuntu installation, I
see that there needs to be a soft link in /usr/lib64 from the
libqgispython.so.x.x to libqgispython.so. Once I added the link, python
worked.
I guess package maintainers might need to add this in the postinstall.
Thanks,
Micha
>> Saludos
>> José María
>>
>>
>
>
>
> This mail was received via Mail-SeCure System.
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
>
> This mail was received via Mail-SeCure System.
>
>
More information about the Qgis-user
mailing list