Installing Packages With pip (Overview)
So far on the Python Basics learning path, you’ve been working within the bounds of the Python standard library. Now it’s time to unlock packages that aren’t included with Python by default. To do that, you’ll need pip
.
Many programming languages offer a package manager that automates the process of installing, upgrading, and removing third-party packages. Python is no exception. The de facto package manager for Python is called pip
.
In this video course, you’ll learn how to:
- Install and manage third-party packages with
pip
- Use virtual environments to separate project dependencies
- Declare requirements and re-create a development environment
- Navigate PyPI, the Python Package Index
With that knowledge as your guide, you’ll be able to confidently install packages to suit your programming needs.
This video course is part of the Python Basics series, which accompanies Python Basics: A Practical Introduction to Python 3. Note that you’ll be using IDLE to interact with Python throughout this course.
00:00
Welcome to Python Basics: Installing Packages With pip
. I’m Philipp with Real Python, and I’ll be your instructor for this video course.
00:10
If you have followed any tutorial that contained a package that was not part of Python’s standard library, you may have heard of pip
. pip
is the funny-sounding name for Python’s package manager.
00:22
That means it’s a tool that allows you to install and manage libraries and dependencies that aren’t distributed as part of the Python standard library. If you’re wondering what pip
stands for, it’s short for pip
installs packages, and in this course you’ll learn how that works.
00:41
This is what we will tackle in this course. You will learn how to use the terminal, what pip
is and why it’s important, work with virtual environments.
00:50 Now, we’ll explain this a bit later. You will install and uninstall packages, you will declare project requirements, and you’ll learn how to find third-party packages.
01:03
So while this course focuses on pip
, you will also learn about the terminal and virtual environments, as you can see in the table of contents.
01:10 If both the terminal and virtual environments are new to you, worry not. I will explain both of them, and we’ll start with the terminal.
Become a Member to join the conversation.