[Qgis-user] Sextante - installation failed
Nicolas Najdovski
hostis_exaltis at live.fr
Thu Mar 28 14:27:08 PDT 2013
Well, here is the complete error log :
Impossible de charger l'extension 'sextante' depuis
['/usr/share/qgis/python', '/home/nicolas/.qgis//python',
'/home/nicolas/.qgis//python/plugins', '/usr/share/qgis/python/plugins',
'/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2',
'/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/PIL',
'/usr/lib/python2.7/dist-packages/gst-0.10',
'/usr/lib/python2.7/dist-packages/gtk-2.0',
'/usr/lib/pymodules/python2.7',
'/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
'/usr/lib/python2.7/dist-packages/ubuntuone-client',
'/usr/lib/python2.7/dist-packages/ubuntuone-control-panel',
'/usr/lib/python2.7/dist-packages/ubuntuone-couch',
'/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol',
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode',
'/usr/share/qgis/python/plugins/fTools/tools']
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 143, in
loadPlugin
__import__(packageName)
File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 309, in
_import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/home/nicolas/.qgis//python/plugins/sextante/__init__.py", line
20, in
from sextante.core.Sextante import runalg, runandload, alghelp,
alglist, algoptions, load, loadFromAlg, extent, getObjectFromName,
getObjectFromUri, features
File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 309, in
_import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/home/nicolas/.qgis//python/plugins/sextante/core/Sextante.py",
line 53, in
from sextante.admintools.AdminToolsAlgorithmProvider import
AdminToolsAlgorithmProvider
File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 309, in
_import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/home/nicolas/.qgis//python/plugins/sextante/admintools/AdminToolsAlgorithmProvider.py",
line 19, in
from sextante.admintools.PostGISExecuteSQL import PostGISExecuteSQL
File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 309, in
_import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/home/nicolas/.qgis//python/plugins/sextante/admintools/PostGISExecuteSQL.py",
line 32, in
from sextante.admintools import postgis_utils
File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 309, in
_import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/home/nicolas/.qgis//python/plugins/sextante/admintools/postgis_utils.py",
line 39, in
import psycopg2
File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 309, in
_import
mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError: No module named psycopg2
Version de Python :
2.7.3 (default, Sep 26 2012, 21:53:55)
[GCC 4.7.2]
Version de QGIS :
1.8.0-Lisboa Lisboa, exported
Chemin vers Python : ['/usr/share/qgis/python',
'/home/nicolas/.qgis//python', '/home/nicolas/.qgis//python/plugins',
'/usr/share/qgis/python/plugins', '/usr/lib/python2.7',
'/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/PIL',
'/usr/lib/python2.7/dist-packages/gst-0.10',
'/usr/lib/python2.7/dist-packages/gtk-2.0',
'/usr/lib/pymodules/python2.7',
'/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
'/usr/lib/python2.7/dist-packages/ubuntuone-client',
'/usr/lib/python2.7/dist-packages/ubuntuone-control-panel',
'/usr/lib/python2.7/dist-packages/ubuntuone-couch',
'/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol',
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode',
'/usr/share/qgis/python/plugins/fTools/tools']
-------- Message original --------
Sujet: Sextante - erreur d'installation
Date : Thu, 28 Mar 2013 22:24:27 +0100
De : Nicolas Najdovski <hostis_exaltis at live.fr>
Pour : qgis-user at lists.osgeo.org
Good evening,
I'm using Ubuntu 12.10 and I would like to run several actions
automatically in qgis.
I'm trying to install Sextante on qgis 1.8 but the installation failed.
The problem was that rights to the .qgis folder was only granted to root.
So I fixed that but the installation still failed. In the description of
the errors, the path that seems to be used is ~/.qgis//python/plugins
Shoudn't it be ~/.qgis/python/plugins ?
How can I fix that? Need to modify and recompile something i guess, but
what?
Thanks!
Nicolas Najdovski
PS : If it's too complicated, is there somthing like arcpy in Arcgis
that can drive Qgis without sextante?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20130328/8ca2d07d/attachment.html>
More information about the Qgis-user
mailing list