How to identify conda package dependents?

前端 未结 6 2106
被撕碎了的回忆
被撕碎了的回忆 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-25 11:59

    Shameless plug: conda-depgraph can do this fairly easily:

    $ conda depgraph --from-channels in mpich2
    
     ┌────────┐
     │anaconda│
     └───┬─┬──┘
         │ │
         │ └──┐
         v    │
     ┌──────┐ │
     │mpi4py│ │
     └──┬───┘ │
        │ ┌───┘
        │ │
        v v
     ┌──────┐
     │mpich2│
     └──────┘
    

提交回复
热议问题