Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.

Installing #65

Open
metavo opened this issue Jun 12, 2018 · 10 comments
Open

Installing #65

metavo opened this issue Jun 12, 2018 · 10 comments

Comments

@metavo
Copy link

metavo commented Jun 12, 2018

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
Copy link

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

@vmora
Copy link
Contributor

vmora commented Jun 19, 2018

@labarros not supposed to work with qgis 3 yet

@vmora
Copy link
Contributor

vmora commented Jun 19, 2018

@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
Copy link

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

@labarros
Copy link

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: /PROGRA1/QGIS21.18/apps/qgis/./ python \ qgis \ utils.py", line 333, in startPlugin
    plugins [packageName] = package.classFactory (iface)
  File "C: /PROGRA1/QGIS21.18/apps/qgis/./ python \ albion \ __ init__.py", line 4, in classFactory
    from .plugin import Plugin
  File "C: /PROGRA1/QGIS21.18/apps/qgis/./ python \ qgis \ utils.py", line 607, in _import
    mod = _builtin_import (name, globals, locals, fromlist, level)
  File "C: /PROGRA1/QGIS21.18/apps/qgis/./ python \ albion \ plugin.py", line 16, in
    from .project import ProgressBar, Project, find_in_dir
  File "C: /PROGRA1/QGIS21.18/apps/qgis/./ python \ qgis \ utils.py", line 607, in _import
    mod = _builtin_import (name, globals, locals, fromlist, level)
  File "C: /PROGRA1/QGIS21.18/apps/qgis/./ python \ albion \ project.py", line 3, in
    from pglite import cluster_params
  File "C: /PROGRA1/QGIS21.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
Copy link
Contributor

vmora commented Jun 27, 2018

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

@wantolinez4
Copy link

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

@wantolinez4
Copy link

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

@wantolinez4
Copy link

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

@vmora
Copy link
Contributor

vmora commented Jan 6, 2020

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

@vmora vmora assigned vmora and unassigned vmora Jan 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants