3

While trying to import geopandas error occurs:

Exception has occurred: OSError Could not find lib geos_c.dll or load any of its variants [].

I downloaded GDAL and fiona for Python 3.7 from this website https://www.lfd.uci.edu/~gohlke/pythonlibs/?fbclid=IwAR09Axx2Z6e7tMk8ITEeVePOSX4G6vhsyTNdSGjZfiozAb0Qj57xx6lrdMA#gdal

Then I did "pip install geopandas" and pip works but while importing geopandas in script it still doesn't work, even after installing OSGeo4W. I'm using Windows 10. What should I do to be able to use geopandas?

  • 2
    Hey, welcome to GIS SE. If you don't have any specific limitations to do so, I'd suggest you downloading Anaconda and using it to install geopandas. It is as easy as opening a command prompt and running conda install geopandas. – Marcelo Villa-Piñeros Feb 12 at 22:20
  • 1
    And if you want to keep using wheels, you will need to install Shapely as well from the same place where you downloaded fiona wheels. (but I also recommend Anaconda) – joris Feb 13 at 11:13

Your Answer

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

Browse other questions tagged or ask your own question.