类似这样
{19:57}~ ➭ pipdeptree
flake8==4.0.1
- mccabe [required: >=0.6.0,<0.7.0, installed: 0.6.1]
- pycodestyle [required: >=2.8.0,<2.9.0, installed: 2.8.0]
- pyflakes [required: >=2.4.0,<2.5.0, installed: 2.4.0]
mypy==0.931
- mypy-extensions [required: >=0.4.3, installed: 0.4.3]
- tomli [required: >=1.1.0, installed: 2.0.0]
- typing-extensions [required: >=3.10, installed: 4.0.1]
Pillow==9.0.1
pip-autoremove==0.10.0
- pip [required: Any, installed: 22.0.3]
- setuptools [required: Any, installed: 58.1.0]
pipdeptree==2.2.1
- pip [required: >=6.0.0, installed: 22.0.3]
pygame-gui==0.6.4
- pygame [required: >=2.0.1, installed: 2.1.2]
- python-i18n [required: >=0.3.9, installed: 0.3.9]
pyinstaller==4.8
- altgraph [required: Any, installed: 0.17.2]
- macholib [required: >=1.8, installed: 1.15.2]
- altgraph [required: >=0.15, installed: 0.17.2]
- pyinstaller-hooks-contrib [required: >=2020.6, installed: 2021.5]
- setuptools [required: Any, installed: 58.1.0]
rumps==0.3.0
- pyobjc-framework-Cocoa [required: Any, installed: 8.1]
- pyobjc-core [required: >=8.1, installed: 8.1]
toga==0.3.0.dev32
- toga-cocoa [required: ==0.3.0.dev32, installed: 0.3.0.dev32]
- rubicon-objc [required: >=0.3.0, installed: 0.4.2]
- toga-core [required: ==0.3.0.dev32, installed: 0.3.0.dev32]
- travertino [required: >=0.1.3, installed: 0.1.3]
1
ruanimal 2022-04-19 21:20:04 +08:00
关注。。
|
2
twing37 2022-04-19 21:26:45 +08:00 1
|
3
ngn999 2022-04-19 21:26:51 +08:00 1
brew ls 可以列出顶层的包, 不想要的, 你直接 uninstall, 然后`brew autoremove`能把用不到的依赖给清理掉.
|
4
lovedoing 2022-04-19 21:30:15 +08:00 1
rmtree
|
5
ChrisFreeMan OP |
6
tbxark 2022-04-19 22:02:00 +08:00 4
brew deps --tree --installed
|
7
ChrisFreeMan OP @tbxark 谢谢兄弟,正是我要的
|
8
Mutoo 2022-04-20 16:43:48 +08:00
之前用过一个可视化的,更直观一点
https://github.com/martido/homebrew-graph |