本文介绍了“随后的软件包将被更高优先级的信道所取代"是什么?意思是?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在64位Linux上的Anaconda发行版上安装Fuzzywuzzy.当我这样做时,它将尝试将我的condaconda-env更改为conda-forge通道.如下:

I am trying to install fuzzywuzzy onto my Anaconda distribution in 64 bit Linux. When I do this, it tries to change my conda, and conda-env to conda-forge channels. As follows:

我通过写以下内容搜索anaconda的模糊困惑:

I search anaconda for fuzzy wuzzy by writing:

anaconda search -t fuzzywuzzy

这表明在通道conda-forge上可用于64位Linux上的anaconda的最新版本是0.13.

This showed that the most up to date version available for anaconda on 64 bit Linux is 0.13 provided on the channel conda-forge.

要安装,请在命令行中键入:

To install, within the command line, I type:

conda install -c conda-forge fuzzywuzzy=0.13.0

我得到以下输出:

The following packages will be downloaded:

package                    |            build
---------------------------|-----------------
conda-env-2.6.0            |                0         1017 B  conda-forge
python-levenshtein-0.12.0  |           py27_0         138 KB  conda-forge
conda-4.2.13               |           py27_0         375 KB  conda-forge
fuzzywuzzy-0.11.0          |           py27_0          15 KB  conda-forge
------------------------------------------------------------
                                   Total:         528 KB


The following new packages will be INSTALLED:

    fuzzywuzzy:            0.11.0-py27_0 conda-forge
    python-levenshtein:    0.12.0-py27_0 conda-forge

The following packages will be SUPERCEDED by a higher-priority channel:

    conda:        4.2.13-py27_0      --> 4.2.13-py27_0 conda-forge 
    conda-env:    2.6.0-0            --> 2.6.0-0       conda-forge 

Proceed ([y]/n)?

我不明白这是在告诉我什么.

I do not understand what this is telling me.

这是什么意思?我是否认为这正在更改我的默认软件包管理器通道,对吗?如果我继续安装,是否可以将其反转?有什么方法可以完成安装而无需更改默认通道?还是偏爱取代渠道是我应该做的事情?

What does this mean? Am I right in thinking that this is changing my default package manager channels? Can this be reversed if I go ahead and install it? Is there any way to complete the installation without changing the default channel? Or is favouring the superceding channels something that I should be doing?

我不想仅更改一个模块的发行版,否则会造成更多麻烦.

I don't want to change my distribution just for one module, or cause further headaches.

此问题: https://github.com/conda/conda/issues/2898听​​起来像是告诉我应该让它发生.怎么办?

This question: https://github.com/conda/conda/issues/2898 sounds like its telling me that I should just let it happen. What do?

(我正在使用anaconda版本:4.2.13和Python 2.7.12)

(I am using anaconda version: 4.2.13 and Python 2.7.12)

推荐答案

当您要求conda从conda-forge安装fuzzywuzzy时,fuzzywuzzy表示它需要condaconda-env. Conda检测到您已经安装了这些工具,但它也知道这些工具是通过默认渠道安装的,而不是conda-forge.

When you ask conda to install fuzzywuzzy from conda-forge, fuzzywuzzy indicates that it needs conda and conda-env. Conda detects that you already have these installed, but it also knows that these were installed from the default channel and not conda-forge.

现在,作为用户,您可能希望默认通道和conda-forge通道中的4.2.13-py27_0完全相同(并且应该如此),但是conda无法保证确实如此.开发人员很可能已经将不同的软件包上传到默认频道和conda-forge频道.

Now, as a user you might expect that 4.2.13-py27_0 in the default channel and in the conda-forge channel to be exactly the same (and they should) but conda can not guarantee that this is the case. The developers could very well have uploaded different packages to the default and conda-forge channels.

这将导致一些非常隐蔽的错误,并且为了避免这些conda倾向于从与新软件包相同的渠道安装依赖项.这就是该消息所表明的,一个包将替换为相同的包,但是使用-c conda-forge从您赋予了更高优先级的另一个渠道中来.

This would cause some really shady bugs, and in order to avoid those conda prefers to install the dependencies from the same channel as the new package. This is what the message indicates, a package getting replaced with the same package, but from a different channel which you gave higher priority by using -c conda-forge.

这篇关于“随后的软件包将被更高优先级的信道所取代"是什么?意思是?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-24 17:03