Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Pipenv: The Python Package Manager!
You have completed Pipenv: The Python Package Manager!
Preview
Need to know which package is dependent on another? Pipenv has a convenient graph feature to do just that.
Additional Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
If you need to see what dependencies
are reliant on one another,
0:00
you can easily generate a dependency
graph with Pipenv, pipenv graph.
0:01
This shows the top level dependencies and
which packages they depend on.
0:07
graph can take a few flags,
which can be helpful as well.
0:13
Clear, we can get our graph back in JSON
0:18
format with, pipenv graph --json.
0:23
And if we run pipenv graph --reverse,
0:29
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up