Python Basics Exercises: Installing Packages With pip (Summary)
In this video course, you practiced installing third-party packages using
Python’s package manager, pip
. After getting to know virtual environments, you worked with several useful pip
commands,
including pip install
, pip list
, and pip uninstall
.
You also practiced how to declare requirements for your project and recreating a development environment.
To continue your Python learning journey, check out these video courses:
You’ll also find these written tutorials useful:
- Your Python Coding Environment on Windows: Setup Guide
- Python’s Requests Library (Guide)
- Build a Wordle Clone With Python and Rich
- Using Python’s
pip
to Manage Your Projects’ Dependencies - Python Virtual Environments: A Primer
- The Terminal: First Steps and Useful Commands
- How to Evaluate the Quality of Python Packages
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.
00:00 Congratulations on solving all the exercises and the challenge. In this course, you practiced how to use the terminal, how to work with virtual environments, how to install packages, and how to declare your project requirements.
00:14 If you want to get more detailed instructions on how to use the terminal, then I can recommend the code conversations I had with Ian, Giana, and Martin. You can pick the code conversation for the operating system you’re interested in, either Windows, Linux, or macOS, or even better, watch all of them and learn how to use the terminal on Windows, Linux, and macOS.
00:36 If you want to learn more about virtual environments, then check out the Real Python primer on them. Virtual environments are a concept that as a beginner are sometimes a bit confusing, but this tutorial really does a great job on explaining it and going deep where it needs to go deep.
00:52
So make sure to check this one out. And of course, you can dive deeper into pip
with the pip
tutorial we’ve got on our site. The pip
tutorial covers some of the things you may have learned already, but it definitely is a nice refresher.
01:05
And of course, you can always revisit the Python Basics video course on installing packages with pip
.
01:12 Okay, and that’s all I got for you today. Thanks for joining me on this video course, and until next time, at realpython.com.
Become a Member to join the conversation.
rwelk on Feb. 28, 2024
I did all the other recommended courses before I tackled this one. The exercises reinforced all I learned previously. Great to apply what I remembered from doing the previous courses. I will be looking for mac style terminal with a file explorer incorporated that I can run in Linux. Thank you Philipp.