1

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.

  • 1
    Welcome to GIS SE! We're a little different from other sites; this isn't a discussion forum but a Q&A site. Please check out our short tour to learn about our focussed Q&A format. What were the detailed steps that you performed to try and install GeoPandas? – PolyGeo Aug 2 at 6:56
  • In general, I would also recommend to use conda instead of pip to install GeoPandas, see geopandas.readthedocs.io/en/latest/… – joris Aug 2 at 8:17
2

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 from here https://www.lfd.uci.edu/~gohlke/pythonlibs/#fiona

then install it using pip install path/to/fiona.whl

and last you can install geopandas from pypa using pip install geopandas

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.