Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'sqlalchemy','geoalchemy2' #270

Closed
2 tasks
ponceta opened this issue Jun 25, 2024 · 5 comments
Closed
2 tasks

No module named 'sqlalchemy','geoalchemy2' #270

ponceta opened this issue Jun 25, 2024 · 5 comments
Labels
bug Something isn't working INTERLIS About INTERLIS exchange format (import / export) plugin Concerns the wastewater plugin

Comments

@ponceta
Copy link
Member

ponceta commented Jun 25, 2024

When trying to use INTERLIS import button :

Error: Could not load Interlis importer due to unmet dependencies. See logs for more details.

  • teksi_wastewater:No module named 'sqlalchemy'
  • teksi_wastewater:No module named 'geoalchemy2'
@ponceta ponceta added bug Something isn't working plugin Concerns the wastewater plugin INTERLIS About INTERLIS exchange format (import / export) labels Jun 25, 2024
@cymed
Copy link
Contributor

cymed commented Jun 25, 2024

You need to have sqlalchemy installed in your qgis installation path. if you installed qgis via osgeo4w, select the module in the installation gui

@sjib
Copy link
Contributor

sjib commented Jun 25, 2024

in gep the datamodel tool checked for that and installed it if not already there. So something to get again with the TMMT plugin

@ponceta
Copy link
Member Author

ponceta commented Jun 26, 2024

The osgeo4w python module is called python3-sqlalchemy

To add to requirements, we should enable the future plugin to install its required dependancies to avoid installing database librairies on all QGIS client installations

\PathToReplace\osgeo4w-setup.exe -g -k --autoaccept -q -d -o -P qgis-ltr,python3-tools,python3-pip,python3-setuptools,python3-networkx,python3-lxml,python3-sqlalchemy,python3-geoalchemy2,proj-datumgrid-europe -s "http://ftp.osuosl.org/pub/osgeo/download/osgeo4w/v2"

@ponceta ponceta changed the title No module named 'sqlalchemy' No module named 'sqlalchemy','geoalchemy2' Jun 26, 2024
@ponceta
Copy link
Member Author

ponceta commented Jun 26, 2024

Closing this for now.

@sjib
Copy link
Contributor

sjib commented Jul 16, 2024

Here is the documentation on how to install 'sqlalchemy' manually: https://qgep.github.io/docs/en/admin-guide/interlis-io/index.html#python-libraries

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working INTERLIS About INTERLIS exchange format (import / export) plugin Concerns the wastewater plugin
Projects
None yet
Development

No branches or pull requests

3 participants