[GIS] Error installing GeoPandas

geopandasinstallation

Can someone help me with this error concerning installation of geopandas even after installing 'shapely'?

Error:
cwd: C:\Users\JASHVA~1\AppData\Local\Temp\pip-install-ccci6ax2\fiona\
Complete output (1 lines):
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a
GDAL_VERSION environment variable.
—————————————- ERROR: Command errored out with exit status 1: python setup.py egg_info Check th e logs for
full command output.

Best Answer

The problem is with fiona not with shapely, try to install it separately not as a dependence of geopandas

Download the right version for your Python version (the "cpXY" part of the filenames) from https://www.lfd.uci.edu/~gohlke/pythonlibs:

Then install it using pip install path/to/gdal.whl and pip install path/to/fiona.whl

And finally you can install geopandas using pip install geopandas

Related Question