How to identify conda package dependents?

前端 未结 6 2116
被撕碎了的回忆
被撕碎了的回忆 2020-12-25 11:29

For a given conda package, how to I list the packages that depend on it?

I recently installed anaconda on a university cluster that al

6条回答
  •  星月不相逢
    2020-12-25 12:20

    Searching the package cache will only show you the packages that you have downloaded already. For your case, this behavior is fine, but if you want to know every package that depends on a given package, a better way is to search the repodata of your channels. The repodata is cached in ~/anaconda/pkgs/cache, or you can navigate with your browser to http://repo.continuum.io/pkgs/free/ and click on repodata.json for the platform you use (for Binstar, go to, e.g., https://conda.binstar.org/asmeurer). Then search for the name of the package in the "depends" key.

提交回复
热议问题