我正在嘗試使用Anaconda提示符安裝軟件包,但是在我使用后發生了意想不到的事情:geopandasconda install geopandasCollecting package metadata (current_repodata.json): doneSolving 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): doneSolving environment: failed with initial frozen solve. Retrying with flexible solve.Solving environment: -Found conflicts! Looking for incompatible packages在此之后,它繼續搜索沖突,但幾個小時過去了,沒有完成。最后,我仍然無法使用.geopandas我也嘗試過在不同的虛擬環境中安裝,它可以工作,但我不知道如何在Jupyter筆記本中使用環境。geopandas我想知道,如何在沒有單獨環境的情況下安裝地理熊貓?或者,或者,在將 Geopandas 安裝在單獨的環境中后,如何在 Jupyter 筆記本中使用地理插件?
3 回答

LEATH
TA貢獻1936條經驗 獲得超7個贊
將其安裝在新的 env 中,如果您打算在 Jupyter 中使用它,請包括:ipykernel
conda create -n my_env geopandas ipykernel
注意,應該安裝在你的基本env中(即你從哪里啟動Jupyter)。這使得 Jupyter 能夠自動識別其他內核就緒的 env:nb_conda_kernels
conda install -n base nb_conda_kernels
添加回答
舉報
0/150
提交
取消