Search code examples
python-3.xgisgeopandasminiconda

How do I install geopandas into miniconda?


Trying to install geopandas using:

conda install geopandas

but keep receiving the errors:

miniconda errors image


is there something I'm doing wrong here? can't seem to install geopandas at all.


Solution

  • geopandas has a ton of dependencies, so it's easy to encounter low-level conflicts when installing into an existing environment, especially when you have a mix of channels. It's best to install into a new environment, and to specify a channel, as well as to install all the packages you want to use with it at the same time, e.g.:

    conda create -n mygeoenv -c conda-forge python=3.9 \
        geopandas xarray pandas ipython pip scipy numpy \
        matplotlib cartopy fiona holoviews rasterio