我目前正在使用Python 3.7.6和Anaconda和Jupyter Notebook。我曾经在一周前使用过geopandas,没有任何问题。然后我试着安装osmnx,花了10多个小时,所以我中断了它。我不得不继续处理其他东西,然后我又尝试了几次安装,然后我遇到了一个无法修复的跟踪问题,所以我在两天前重新安装了Anaconda。之后,我尝试安装geopandas,我遇到了这个问题,我运行了代码,但没有完成安装,超过10个小时,并中断了安装。
我尝试了下面这两个代码:
conda install --channel conda-forge geopandas
!conda install geopandas
我成功地安装了像Folium这样的其他模块,没有问题的conda install -c conda-forge folium
提前感谢
发布于 2020-05-05 01:22:40
geopandas和OSMnx都有依赖关系,这可能会导致复杂的安装。在干净、隔离的conda环境中最容易安装。
安装geopandas:
conda config --prepend channels conda-forge
conda create -n gpd --strict-channel-priority geopandas按its docs安装osmnx
conda config --prepend channels conda-forge
conda create -n ox --strict-channel-priority osmnxhttps://stackoverflow.com/questions/60955887
复制相似问题