I have been trying to use the fiona package in Spyder. I have made a new environment using python 3.9 and and another with python 3.8 and included fiona along with several others. When I type ‘import fiona’ in the console it is still giving me an error. I’m not sure what to do next. Any tips or advice would be greatly appreciated to get this project finished. Thank you.
- python version 3.9.7 (and tried 3.8)
- fiona version 1.8.13.p
- gdal version 3.0.2
- geopandas version 0.9.0
- proj version 6.2.1 (update available)
- pyproj version 2.6.1.post1
- pandas version 1.4.1
- numpy version 1.21.5
- seaborn version 0.11.2
- matplotlib version 3.5.1
- cartopy version 0.18.0
import fiona
Traceback (most recent call last):
File “C:\Users\ADMINI~1\AppData\Local\Temp/ipykernel_8144/1102285635.py”, line 1, in
import fiona
File “C:\Users\Administrator\anaconda3\envs\py38-spatial-data-analysis\lib\site-packages\fiona_init_.py”, line 84, in
from fiona.collection import BytesCollection, Collection
File “C:\Users\Administrator\anaconda3\envs\py38-spatial-data-analysis\lib\site-packages\fiona\collection.py”, line 9, in
from fiona.ogrext import Iterator, ItemsIterator, KeysIterator
ImportError: DLL load failed while importing ogrext: The specified module could not be found.