There are multiple methods to install the requests package in Python. The most straightforward approach is utilizing the pip install terminal command, which automatically installs the most recent version either system-wide for the current desktop environment or specifically for the user:
# system wide
$ pip install requests
# only for user
$ pip install --user requests
As an alternative, you can employ a package manager like poetry:
# create new poetry project with `requests` dependency
$ poetry init --dependency=requests
or utilize the pipenv package manager:
$ cd myproject
$ pipenv install requests