How to identify conda package dependents?

前端 未结 6 2118
被撕碎了的回忆
被撕碎了的回忆 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:06

    conda search --reverse-dependency 
    

    should be the answer. Except it's not working. Please vote on this issue to show that it's important to users. It's been reported in Jan-18 and there has been no change in status. Hopefully if enough votes is gathered it'll be looked at. Or perhaps someone could submit a PR to fix it.

    Until then you may have a partial solution using pipdeptree if pip's version of the package's reverse dependencies are identical to conda's version, which is often not the case. But at least it will give you some indication.

    pipdeptree --reverse --packages 
    

提交回复
热议问题