Skip to content

Instantly share code, notes, and snippets.

@Brainz22
Created July 18, 2025 19:22
Show Gist options
  • Select an option

  • Save Brainz22/4b1e7874c52f3b958507fce99f6fcb6a to your computer and use it in GitHub Desktop.

Select an option

Save Brainz22/4b1e7874c52f3b958507fce99f6fcb6a to your computer and use it in GitHub Desktop.
Using pipdeptree

The package pipdeptree can be used to show a tree of all package dependencies in your environment. Install and use it as:

pip install pipdeptree
pipdeptree > pipdeptree.log

Then, open the pipdeptree.log file to see the tree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment