I am on Windows and using Python via Anaconda.
Python 3.8.8, 64 bit AMD64
- I downloaded the gdal & fiona wheels from
https://www.lfd.uci.edu/~gohlke/pythonlibs/#gdal
https://www.lfd.uci.edu/~gohlke/pythonlibs/#fiona
GDAL-3.2.3-cp38-cp38-win_amd64.whl
Fiona-1.8.20-cp38-cp38-win_amd64.whl
Installed gdal successfully: Version 3.2.3
Add Environment Variable with the name GDAL_DATA and value =
C:\Users\yourUserName\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\osgeo\data\gdal
Installed Visual C++ build tools from https://visualstudio.microsoft.com/visual-cpp-build-tools/
Re-start my computer
pip install C:/Users/Asus/anaconda3/Lib/Fiona-1.8.20-cp38-cp38-win_amd64.whl
But there is always error in building gdal wheel at step 6.
Using cached gdal 3.3.1.tar.gz .....
Failed in building wheels for gdal ...
Why is there a need for fiona to build wheels for gdal when I have already installed gdal? I have added the path for the installed gdal to environment variable.