Installing Packages Using pip and Creating requirements.txt Files

Published: 13 January 2022
on channel: Real Python
9,640
94

The most up-to-date of the package management tools that ships with Python is called pip. It is a command-line tool that installs third-party packages from the PyPI package repository.

This lesson is part of a larger course about pipenv.

When you install a package using pip, the package goes in the site-packages directory of your interpreter’s installation. This is problematic if you’re managing multiple projects that require different versions of the same package. Virtual environments are a solution to this problem.

Click here for more info about the complete course: https://realpython.com/courses/workin...