Skip to content

Commit

Permalink
fix: fiona/gdal issue [#213](conda-forge/fiona-feedstock#213) on windows
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Sieboldianus committed Jan 16, 2024
1 parent 2c3805a commit a71c66a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion environment.yml
Expand Up @@ -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
Expand All @@ -19,4 +19,7 @@ dependencies:
- hdbscan>=0.8.31
- seaborn
- scipy
- gdal
pip:
- fiona

0 comments on commit a71c66a

Please sign in to comment.