Oslandia / albion

Migrated to: https://gitlab.com/Oslandia/albion
https://gitlab.com/Oslandia/albion
GNU General Public License v3.0
49 stars 17 forks source link

Installing #65

Open metavo opened 6 years ago

metavo commented 6 years ago

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?

labarros commented 6 years ago

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

vmora commented 6 years ago

@labarros not supposed to work with qgis 3 yet

vmora commented 6 years ago

@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.

labarros commented 6 years ago

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

labarros commented 6 years ago

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?

vmora commented 6 years ago

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

wantolinez4 commented 6 years ago

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

wantolinez4 commented 6 years ago

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

wantolinez4 commented 6 years ago

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

vmora commented 4 years ago

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