Geopandas is an extension to the powerful Pandas library for Python that adds support for geographic data, including reading and writing ESRI shapefiles, which are one of the most common formats for vector geometry with attribute information. Geopandas is not included within the default Anaconda installation. Getting it to work can be a bit tricky. The way that worked for me was the following:
- Make sure your .condarc is configured to use the conda-forge channel, as described here.
- Open an Anaconda prompt as administrator.
- Update Anaconda by running conda update –all – don’t be surprised if the list of packages to be updated is quite extensive, as many packages from the default channel will be replaced by those from the conda-forge channel.
- With the update completed, conda install geopandas should result in a working Geopandas installation.