From a71c66a3ebc2ec9853263388b095d51093e5cc15 Mon Sep 17 00:00:00 2001 From: Alexander Dunkel Date: Tue, 16 Jan 2024 15:16:16 +0100 Subject: [PATCH] fix: fiona/gdal issue [#213](https://github.com/conda-forge/fiona-feedstock/issues/213) on windows This issue seems to be related to pinnings under windows and fiona resulting in the following fiona error: Traceback (most recent call last): File , line 1, in File C:\tools\miniconda3\envs\fiona_test\Lib\site-packages\fiona_init_.py, line 86, in from fiona._env import ( ImportError: DLL load failed while importing _env: The specified procedure could not be found. As a circumention, install fiona with pip, as suggested by https://stackoverflow.com/a/77289885/4556479 --- environment.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/environment.yml b/environment.yml index 4c1a787..ca191fb 100644 --- a/environment.yml +++ b/environment.yml @@ -9,7 +9,7 @@ channels: dependencies: - python>=3.7 - pip - - fiona==1.8.22 # pin until fiona-feedstock/issues/213 is solved; only necessary for windows + # - fiona==1.8.22 # pin until fiona-feedstock/issues/213 is solved; only necessary for windows - shapely - pandas>=0.24.2 - pyproj>=2.0.0 @@ -19,4 +19,7 @@ dependencies: - hdbscan>=0.8.31 - seaborn - scipy + - gdal + pip: + - fiona