简体   繁体   English

如何将 geopandas 安装到 miniconda 中?

[英]How do I install geopandas into miniconda?

Trying to install geopandas using:尝试使用以下方法安装 geopandas:

conda install geopandas

but keep receiving the errors:但继续收到错误:

miniconda 错误图像


is there something I'm doing wrong here?我在这里做错了什么吗? can't seem to install geopandas at all.似乎根本无法安装 geopandas。

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. geopandas 有大量的依赖项,因此在安装到现有环境时很容易遇到低级冲突,尤其是当您有多种渠道时。 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, eg:最好安装到一个新环境中,并指定一个频道,以及同时安装所有你想使用的包,例如:

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM