You’ve seen that pip
is a package manager for Python, used by many projects to manage dependencies. It’s included with the Python installer, which makes it an essential tool for all Pythonistas to know how to use.
Python provides an extensive standard library suitable for developing all sorts of applications, but the active Python community provides an even larger set of tools and libraries that speed up Python application development.
These tools and libraries are published to the Python Package Index (PyPI), and pip
allows developers to install them in their application environments.
In this course, you learned about:
- Installing new packages using
pip
in the command line and with requirement files - Managing dependencies, separating development and production requirements, and creating a locked requirements file
- Finding packages through
pip
and PyPI - Evaluating package dependencies before uninstalling a package and how
pip
uninstalls packages
In addition, you learned about the importance of keeping dependencies up to date and alternatives to pip
that can help you manage those dependencies.
Feel free to reach out in the comments section below with any questions you might have, and you can always get more information at the pip
documentation page.
Congratulations, you made it to the end of the course! What’s your #1 takeaway or favorite thing you learned? How are you going to put your newfound skills to use? Leave a comment in the discussion section and let us know.
Marat Sabirov on May 26, 2020
Awesome! I already used Anaconda on Windows, and now I know how it works on Linux. Big Thx to Austin =)