为什么conda更新降级某些库 [英] why does conda update downgrade some libraries
问题描述
对于m,在OS X上,conda update --all
通常会降级库-以及更新许多库.
For m, on OS X, conda update --all
often downgrades libraries - along with updating many.
这是平常的吗?还是我的设置中可能有东西?
Is this usual? Or something possibly in my setup?
今年早些时候,它被枕了好几个月了.
Earlier this year, it was pillow for many months.
令人惊讶的是,今天它是几个与HDF5相关的库numba和llvmlite.
Surprisingly, today it was several of the HDF5 related libraries, numba and llvmlite.
所以conda update numba
将numba带回最新版本,以此类推,其他8个库也是如此,但是为什么conda update --all
仍然不这样做呢?
So conda update numba
brings numba back to the most recent version, and so on with the other 8 libraries, but why doesn't conda update --all
do this anyway?
推荐答案
这是兼容性问题. Anaconda是一组稳定的软件包.当您更新Anaconda时,您将更新到此稳定列表.
It's a compatibility issue. Anaconda is a stable set of packages. When you update Anaconda, you update to this stable list.
但是,当您更新单个程序包时,它们可能会引起与Anaconda发行版其余部分的不兼容问题,因此认为它们不是稳定的.这就是为什么当您使用conda update --all
时,它会带您到最新的稳定的Anaconda发行版,该发行版可能会或可能没有您想要的单个软件包的版本.
However, when you update individual packages, they might cause incompatibility issues with the rest of the Anaconda distribution so they aren't considered stable. That's why when you use conda update --all
, it gets you to the latest stable Anaconda distribution, which might or might not have the version of the individual package you wanted.
请参阅此处: https://github.com/ContinuumIO/anaconda-issues/issues/39
此行为已更改.现在,它尝试增加所有软件包的版本(主要版本/次要版本之间的Python除外),以使所有软件包之间都不会不兼容.
This behavior has changed. It now tries to increase the version of all packages (except Python between major/minor version) such that no packages will be incompatible with each other.
请参阅此处: http://continuum.io/blog/advanced-conda- part-1#conda-update-all
这篇关于为什么conda更新降级某些库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!