Install Python geopandas failed

pip install geopandas error
conda install geopandas solving environment
pip install fiona
modulenotfounderror: no module named 'geopandas'
conda install -c conda-forge geopandas
conda install pyproj
python wheels
python libraries download

I'm trying to install geopandas. Have the following setup:

  • Windows-64
  • Anaconda2 (64-bit)
  • Python 2.7

Have tried two things:


pip install geopandas

This gives me the following error:

WindowsError: [Error 126] The specified module could not be found and Command "python egg_info" failed with error code 1 in c:\users\username\appdata\local\temp\pip-install-_kgeyw\shapely\

The solutions to the similar problem here suggest that it's because of the slashes in the path being converted. Not sure how to test this.


anaconda search -t conda geopandas

I then search for the version of geopandas suitable for my setup (Windows-64):

conda install -c maxalbert geopandas

which produces the following error:

UnsatisfiableError: The following specifications were found to be in conflict:
 - geopandas
Use "conda info <package> to see the dependencies for each package

When I run the command conda info geopandas I get a list of geopandas version. Not sure how to proceed from here.

It is a common problem and the solution is to install all dependencies manually (as Geoff Boeing describes here:

First try to conda install -c conda-forge geopandas. If it doesn't work, do the following steps:

  1. Download wheels for your Python version and OS for GDAL, Fiona, pyproj, rtree and shapely (e.g. from Gohlke)
  2. Uninstall all OSGeo4W, GDAL, Fiona, pyproj, rtree and shapely packages
  3. pip install the downloaded wheels in the following order: GDAL, Fiona, pyproj, rtree and shapely (for example pip install GDAL-1.11.2-cp27-none-win_amd64.whl)
  4. Now you can pip install geopandas

Install Python geopandas failed, It is a common problem and the solution is to install all dependencies manually (​as Geoff Boeing describes here:  I am trying to install geopandas package with anaconda prompt but after i use "conda install geopandas" an unexpected thing happened: Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve.

Error installing GeoPandas?, 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​  r/Python: News about the programming language Python. If you have something to teach others post here. If you have questions or are a newbie use …

Try this code below:

conda install geopandas

Using geopandas on Windows – Geoff Boeing, It seems that pip installing geopandas works fine on Linux and Mac. install any of the dependencies – if you do, they will fail in some way  Faced the same problem, and finally solved this through this method: First install geopandas using conda (This will install all dependencies) conda install -c conda-forge geopandas Uninstall Fiona conda uninstall fiona Download fiona wheel and install (I downloaded from here https://pypi.python.

FYI: Installing geopandas with conda · Issue #237 · geopandas , I'm using python 2.7 and created an environment using the ioos environment.yml. Geopandas imports fine but raises "DLL load failed" when  This tutorial shows you how to install the Python GeoPandas library using Anaconda Distribution Tutorial on how to install Anaconda Distribution - https://ww

error when installing using pip · Issue #15 · pysal/segregation · GitHub, Command "python egg_info" failed with error code 1 in @lmikaelian it is likely as issue with the geopandas / fiona /etc. install. Installing geopandas the easy way. First, try to install geopandas the easy way using conda and conda-forge (this assumes you are using the Anaconda Python distribution). From your command prompt, run: conda install -c conda-forge geopandas If that doesn’t work, install it the manual but foolproof way…

How to Install Python GeoPandas, Geographic pandas extensions. geopandas 0.7.0. pip install geopandas The goal of GeoPandas is to make working with geospatial data in python easier. The following commands create a new environment with the name geo_env, configures it to install packages always from conda-forge, and installs GeoPandas in it: conda create - n geo_env conda activate geo_env conda config -- env -- add channels conda - forge conda config -- env -- set channel_priority strict conda install python = 3 geopandas

  • You can install geopandas from the main channel: conda install geopandas. But make sure to first remove all versions of geopandas (and its dependencies shapely and fiona) that you installed from the other channel or with pip.
  • How do I uninstall geopandas and its dependencies shapely and fiona? conda uninstall geopandas produces the error: PackagesNotFound: The following packages are missing from the target environment: - geopandas
  • To uninstall the pip version, you can do eg pip uninstall geopandas shapely fiona
  • The output from that command is: Skipping fiona as it is not installed Skipping geopandas as it is not installed Skipping shapely as it is not installed
  • So geopandas is actually available for window 64 and python 2.7, so if you get the error you mention, there is clearly going something wrong (you could open an issue about that on the Anaconda tracker). But can you try conda create -n test python=2.7 geopandas -c defaults to create a fresh environment with geopandas to see if at least that works?