久久久久久久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 路徑)
主站蜘蛛池模板: 久久91精品国产 | 97伦理电影网 | 亚洲国产精品成人 | 成人久久久 | 久久精品在线播放 | 在线欧美一区 | 国产精品一码二码三码在线 | 99亚洲精品 | 草草草影院| 色婷婷综合久久久久中文一区二区 | 国产目拍亚洲精品99久久精品 | 亚洲一区二区久久久 | 在线色网| 国产中的精品av涩差av | 乳色吐息在线观看 | 亚洲色图图片 | 亚洲国产高清高潮精品美女 | 亚洲国产精品日韩av不卡在线 | 中文字幕亚洲一区 | 国产精品污www一区二区三区 | 精品免费观看 | 日日夜精品视频 | 91伦理片| 天天操天天舔 | 久久丝袜 | 在线中文字幕视频 | 成人av在线播放 | 国产精品一区二区三区久久 | 欲色av| 成人日b视频 | 亚洲日日 | 成人久久18免费网站麻豆 | 亚洲精品一区二区在线观看 | 欧美一区二区视频 | 日韩一区二区在线观看视频 | 四虎永久免费影院 | 一区二区三区欧美 | 91精品久久久 | 久久久久久久电影 | 在线国产一区 | 国产黄色大片网站 |