无法在Anaconda环境中安装Geopandas [英] Can't install geopandas in Anaconda environment

查看:139
本文介绍了无法在Anaconda环境中安装Geopandas的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Anaconda Prompt安装 geopandas 软件包,但是在我使用 conda安装geopandas 之后,发生了意外的事情:

I am trying to install the 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.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: -
Found conflicts! Looking for incompatible packages

此后,它继续搜索冲突,但是数小时过去而没有完成.最后,我仍然不能使用 geopandas .

After this, it proceeds to search for conflicts, but hours pass without finishing. In the end, I still cannot use geopandas.

我还尝试过在不同的虚拟环境中安装 geopandas ,它可以工作,但我不知道如何在Jupyter Notebooks中使用该环境.

I have also tried installing geopandas in a different virtual environment and it works but I do not know how to use the environment in Jupyter Notebooks.

我想知道,如何在没有单独环境的情况下安装 geopandas ?

I would like to know, how can install geopandas without a separate environment?

或者,或者,在单独的环境中安装后,如何在Jupyter Notebook中使用 geopandas ?

Or, alternatively, how can I use geopandas in Jupyter Notebooks after install it in a separate environment?

推荐答案

您可以安装但是,geopandas还需要其他依赖项(例如pandas,fiona,shapely,pyproj,rtree).您需要确保已正确安装它们.之后,您应该可以通过简单的 import geopandas 在jupyter中使用它们.

You can install geopandas with pip, however, geopandas requires other dependencies (such as pandas, fiona, shapely, pyproj, rtree). You need to make sure that they are properly installed. After that you should be able to use them in jupyter with a simple import geopandas.

这篇关于无法在Anaconda环境中安装Geopandas的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆