albion icon indicating copy to clipboard operation
albion copied to clipboard

Installing

Open metavo opened this issue 6 years ago • 10 comments

Hi, I'm having some issues with installing it as it's not able to find albion.package. Is it meant to run with Python 2.X or Python 3.X?

metavo avatar Jun 12 '18 14:06 metavo

Hello, I had problems installing the albion in QGIS 3.0.2. Is there a solution?

labarros avatar Jun 19 '18 17:06 labarros

@labarros not supposed to work with qgis 3 yet

vmora avatar Jun 19 '18 19:06 vmora

@metavo although albion is a qgis plugin, it's inner logic is in postgis, and there are a couple of non-standard dependencies (including a custom branch of postgis).It is not meant to remain like this eternally, but for now packaging and deploying is a bit tricky.

If you are willing to spend the time, you can analyse the qgis-ltr-albion-plugin package on https://gitlab.com/Oslandia/osgeo4w and look also at its dependencies (you'll see the source of the custom postgis there). Sorry I cannot help better than that at the moment.

vmora avatar Jun 19 '18 19:06 vmora

Thanks Vicent, anyway I'll give a look at the osgeo4w package

labarros avatar Jun 19 '18 21:06 labarros

Hello Vicent, when installing the albion plugin in QGIS 2.18.12 the following error message appeared: Could not load plugin albion due to an error when calling its classFactory () method

ImportError: No module named pglite Traceback (most recent call last):   File "C: /PROGRA~1/QGIS2~1.18/apps/qgis/./ python \ qgis \ utils.py", line 333, in startPlugin     plugins [packageName] = package.classFactory (iface)   File "C: /PROGRA~1/QGIS2~1.18/apps/qgis/./ python \ albion \ __ init__.py", line 4, in classFactory     from .plugin import Plugin   File "C: /PROGRA~1/QGIS2~1.18/apps/qgis/./ python \ qgis \ utils.py", line 607, in _import     mod = _builtin_import (name, globals, locals, fromlist, level)   File "C: /PROGRA~1/QGIS2~1.18/apps/qgis/./ python \ albion \ plugin.py", line 16, in     from .project import ProgressBar, Project, find_in_dir   File "C: /PROGRA~1/QGIS2~1.18/apps/qgis/./ python \ qgis \ utils.py", line 607, in _import     mod = _builtin_import (name, globals, locals, fromlist, level)   File "C: /PROGRA~1/QGIS2~1.18/apps/qgis/./ python \ albion \ project.py", line 3, in     from pglite import cluster_params   File "C: /PROGRA~1/QGIS2~1.18/apps/qgis/./ python \ qgis \ utils.py", line 607, in _import     mod = _builtin_import (name, globals, locals, fromlist, level) ImportError: No module named pglite Any suggestion?

labarros avatar Jun 26 '18 21:06 labarros

pglite is here https://github.com/Oslandia/pglite

vmora avatar Jun 27 '18 07:06 vmora

Hi every one... can one help me with the procedure of installation? Thank you very much!... and some tutorial to use the program : )

wantolinez4 avatar Jul 02 '18 13:07 wantolinez4

I have the same problem of @labarros ... what is the solution? Thank you

wantolinez4 avatar Jul 11 '18 15:07 wantolinez4

Now appears this... untitled2 What can I do? Thanks

wantolinez4 avatar Jul 11 '18 16:07 wantolinez4

@wantolinez4 sorry for the very late reply, you are missing pglite https://github.com/Oslandia/pglite

vmora avatar Jan 06 '20 13:01 vmora