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

The conda install of hydromt seems to be broken #1041

Open
2 tasks done
hboisgon opened this issue Sep 10, 2024 · 0 comments
Open
2 tasks done

The conda install of hydromt seems to be broken #1041

hboisgon opened this issue Sep 10, 2024 · 0 comments
Labels
Bug Something isn't working Needs refinement issue still needs refinement

Comments

@hboisgon
Copy link
Contributor

HydroMT version checks

  • I have checked that this issue has not already been reported.
  • I have checked that this bug exists on the latest version of HydroMT.

Reproducible Example

> mamba create -n test-env -c conda-forge hydromt
> hydromt --models

Current behaviour

Traceback (most recent call last):
  File "C:\Users\boisgont\AppData\Local\miniforge3\envs\test-env\Scripts\hydromt-script.py", line 5, in <module>
    from hydromt.cli.main import main
  File "C:\Users\boisgont\AppData\Local\miniforge3\envs\test-env\Lib\site-packages\hydromt\__init__.py", line 18, in <module>
    from . import cli, gis, stats, workflows
  File "C:\Users\boisgont\AppData\Local\miniforge3\envs\test-env\Lib\site-packages\hydromt\gis\__init__.py", line 3, in <module>
    from .merge import merge
  File "C:\Users\boisgont\AppData\Local\miniforge3\envs\test-env\Lib\site-packages\hydromt\gis\merge.py", line 6, in <module>
    from hydromt.gis.raster import full_from_transform
  File "C:\Users\boisgont\AppData\Local\miniforge3\envs\test-env\Lib\site-packages\hydromt\gis\raster.py", line 44, in <module>
    from hydromt.gis import utils
  File "C:\Users\boisgont\AppData\Local\miniforge3\envs\test-env\Lib\site-packages\hydromt\gis\utils.py", line 17, in <module>
    from pyogrio import read_info
  File "C:\Users\boisgont\AppData\Local\miniforge3\envs\test-env\Lib\site-packages\pyogrio\__init__.py", line 9, in <module>
    from pyogrio.core import (
  File "C:\Users\boisgont\AppData\Local\miniforge3\envs\test-env\Lib\site-packages\pyogrio\core.py", line 24, in <module>
    from pyogrio._io import ogr_list_layers, ogr_read_bounds, ogr_read_info
ImportError: DLL load failed while importing _io: The specified procedure could not be found.

Desired behaviour

Installation should work again.

Additional context

Tested with python 3.12 and 3.11
Installing hydromt 0.9.4 seems to work though: mamba create -n test-env -c conda-forge hydromt=0.9.4 python=3.11

@hboisgon hboisgon added Bug Something isn't working Needs refinement issue still needs refinement labels Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Needs refinement issue still needs refinement
Projects
None yet
Development

No branches or pull requests

1 participant