Hi
I have multiple python packages installed so I am looking for a way to show which other packages are using these versions of python.
Right now I am using spack uninstall /hash.
which will show the output. However, this command seems a bit dangerous. I looked through the command index but cannot find the solution.
Thanks!
$ spack dependencies --installed /hash
Example:
$ spack dependencies --installed /nm3oc6d
==> Dependencies of [email protected]%[email protected]/nm3oc6d
-- darwin-highsierra-x86_64 / [email protected] -----------------
wfajved [email protected] d56erd2 [email protected] oswarm4 [email protected] hkfv5yh [email protected]
Hi @adamjstewart
Something must be wrong as it's showing the dependencies for python not those which rely upon python:
[root@node140 ~]# spack dependencies --installed /roytte5
==> Dependencies of [email protected]%[email protected]/roytte5
-- linux-rhel6-x86_64 / [email protected] -------------------------------
x5hwxgo [email protected] 37ewjt6 [email protected] qbg7spl [email protected] f4ar74r [email protected] ojc3hqr [email protected] rjqs3cq [email protected]
[root@node140 ~]# spack uninstall /roytte5 | tail -n 20
==> Error: Will not uninstall [email protected]%[email protected]/roytte5
==> Error: Use `spack uninstall --dependents` to uninstall these dependencies as well.
hswl2wt [email protected]%gcc
vkwvxmt [email protected]%gcc
zuum45w [email protected]%gcc
wfjuyr7 [email protected]%gcc
4xx5jfe [email protected]%gcc
uhtyjmh [email protected]%gcc
4lxai46 [email protected]%gcc
5yimyt2 [email protected]%gcc
h7t2zr5 [email protected]%gcc
Oh, sorry, you want dependents
, not dependencies
.
Example:
$ spack dependents --installed /hkfv5yh
==> Dependents of [email protected]%[email protected]/hkfv5yh
-- darwin-highsierra-x86_64 / [email protected] -----------------
wfajved [email protected] d56erd2 [email protected] hkrhuj7 [email protected] nm3oc6d [email protected] oswarm4 [email protected]
Most helpful comment
Oh, sorry, you want
dependents
, notdependencies
.Example: