如何将 geopandas 更新到最新版本?

How can I update geopandas to it's most recent version?

I installed the geopandas package through anaconda using conda install -c conda-forge geopandas , but for some reason the 0.6.3 version got installed.

I need to use the missing_kwds function, but this function is only available in the latest versions of geopandas (currently it's 0.10.0).

I tried updating it by checking conda install -c conda-forge geopandas -h and then using the ---update-all but after hours of waiting I figured that wasn't right. Does anyone know how to help me?

您可以指定要安装的版本号(示例如下)。

conda install -c conda-forge geopandas=0.10

如果你在 conda env 中工作(我强烈建议,连同 运行 机器上 conda-forge home page 上的 2 个 conda 配置步骤以添加 conda-forge 通道并优先从 conda-forge 频道安装包),确保你已经在 运行 安装命令之前激活你的环境。