Python TutorialLesson 31Free preview
Python PIP
This lesson is part of Python · All levels
Summary
PIP is a Python-built package manager for installing and managing third-party libraries from the PyPI repository. With the pip install name_packet command, you can use thousands of additional libraries like requests or NumPy. PIP can also update, remove, and print a list of libraries that are already installed on a computer.
Key points
- PIP is a Python built-in package manager for downloading and installing libraries from PyPI.
- Basic commands: pip install, pip uninstall, pip list, and pip show.
- Pip freeze > requirements.txt stores the library list so that it can be reinstalled with pip install -r requirements.txt.
- It's best to install the library in a virtual environment so as not to interfere with other projects.
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.