久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

Conda install some-package 掛起(解決環境:失敗)

Conda install some-package hangs with (Solving environment: failed)(Conda install some-package 掛起(解決環境:失敗))
本文介紹了Conda install some-package 掛起(解決環境:失敗)的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

我嘗試了多種方法,但無法 conda 安裝軟件包(在我的例子中是 geopandas).我嘗試了 geopandas 安裝指南,但得到了求解器永遠運行的輸出.在創建新環境后,我嘗試不創建環境,使用 defaults 頻道并使用 conda-forge 頻道.沒有任何效果.

I have tried multiple ways but can't conda install packages (in my case, geopandas). I tried geopandas install guide, but get output that the solver runs forever. I tried without creating an environment, after creating a new environment, using defaults channel and using conda-forge channel. None worked.

$ conda create -n top 
$ conda activate top
$ conda config --env --add channels conda-forge
$ conda config --env --set channel_priority strict
$ conda install python=3 geopandas

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:  

我不想使用 pip install,因為我更喜歡使用 conda install.我還嘗試按照 this answer 使用 Anaconda Navigator 進行安裝,但進度條保持不變運行說解決包規范.

I don't want to use pip install because it is preferred to use conda install. Also I tried installing using Anaconda Navigator following this answer, but the progress bar keeps running saying solving package specifications.

推薦答案

支持在創建時指定約束

迭代安裝包是 Conda 的真正瓶頸.如果您事先知道 env 需要某些包,請在創建時指定它們:

Favor Specifying Constraints at Creation

Iteratively installing packages is a real choking point for Conda. If you know up front that the env will require certain packages, then specify them at creation:

conda create -n top -c conda-forge -c defaults python=3 geopandas

這對我來說在幾秒鐘內就解決了.如果你有很多包,那么 使用 YAML.

This solves in seconds for me. If you have many packages, then use a YAML.

有時臨時安裝是不可避免的.對于棘手的解決方案(或一般情況下),嘗試使用 mamba, conda 的已編譯(快速!)替代品.曼巴將在康達掙扎的地方大放異彩.

Sometimes ad hoc installations are unavoidable. For tough solves (or just generally), try using mamba, a compiled (fast!) drop-in replacement for conda. Mamba will shine where Conda struggles.

# install mamba
conda install -n base conda-forge::mamba

# use mamba
mamba install -n top geopandas

這篇關于Conda install some-package 掛起(解決環境:失敗)的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

How to install Selenium in a conda environment?(如何在 conda 環境中安裝 Selenium?)
get the CUDA and CUDNN version on windows with Anaconda installe(使用 Anaconda installe 在 Windows 上獲取 CUDA 和 CUDNN 版本)
How can I download Anaconda for python 3.6(如何下載適用于 python 3.6 的 Anaconda)
Using two different Python Distributions(使用兩個不同的 Python 發行版)
How can I install Anaconda aside an existing pyenv installation on OSX?(除了 OSX 上現有的 pyenv 安裝之外,如何安裝 Anaconda?)
Permanently set Python path for Anaconda within Cygwin(在 Cygwin 中為 Anaconda 永久設置 Python 路徑)
主站蜘蛛池模板: 国产高清视频一区 | 免费h视频 | 一区二区三区日本 | 欧美中文在线 | www国产成人免费观看视频,深夜成人网 | 久久精品久久久久久 | 国产在线观看不卡一区二区三区 | 一级大片网站 | www.色.com| 国产一区二区三区在线观看免费 | 国产成人精品一区二区三区视频 | 久久久.com | 精品成人 | 亚洲乱码一区二区三区在线观看 | 北条麻妃99精品青青久久主播 | 国产一区二区三区免费 | 草久久 | 91av导航 | 日本精品一区二区三区视频 | 99精品国产一区二区青青牛奶 | 久草视频网站 | 精品欧美一区二区三区久久久小说 | 嫩草一区二区三区 | 午夜激情免费 | 亚洲欧美视频一区二区 | 97av| 一本大道久久a久久精二百 国产成人免费在线 | 国产激情综合五月久久 | 91就要激情| 91精品国产综合久久久久久丝袜 | 亚洲成av人片在线观看 | 亚洲免费精品一区 | 欧美综合一区 | 色噜噜狠狠色综合中国 | 欧美看片 | 中文字幕99 | 亚洲精品久久视频 | 精品久久久久久久久久久久 | 香蕉视频在线播放 | 一区欧美 | 夜夜爽99久久国产综合精品女不卡 |