I recently found a good tool!
pip install pip-autoremove
This tool can remove all the tools you need to remove. For example, if you need to remove a torch, it can also delete a torch!
Usage: pip-autoremove [OPTION]... [NAME]...
Options:
-h,
-l,
-L,
-y,
source
share