why does conda update downgrade some libraries

前端 未结 2 1786
礼貌的吻别
礼貌的吻别 2020-12-09 07:19

For m, on OS X, conda update --all often downgrades libraries - along with updating many.

Is this usual? Or something possibly in my setup?

Ear

2条回答
  •  囚心锁ツ
    2020-12-09 08:16

    It's a compatibility issue. Anaconda is a stable set of packages. When you update Anaconda, you update to this stable list.

    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.

    See here: https://github.com/ContinuumIO/anaconda-issues/issues/39

    Edit: 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.

    See here: http://continuum.io/blog/advanced-conda-part-1#conda-update-all

提交回复
热议问题