🚀 We are hiring! See open positions

3 ways to install Python Requests library

by Bernardas Alisauskas May 29, 2023 1 min read

There are several ways to install requests package in Python. The easiest way is to use the pip install terminal command which will automatically install the latest version for the current desktop or just the user:

shell
# system wide
$ pip install requests
# only for user
$ pip install --user requests

Alternatively, we can use a package manager such as poetry:

shell
# create new poetry project with `requests` dependency
$ poetry init --dependency=requests

or pipenv package manager:

shell
$ cd myproject
$ pipenv install requests
Scale Your Web Scraping
Anti-bot bypass, browser rendering, and rotating proxies — all in one API. Start with 1,000 free credits.
No credit card required 1,000 free API credits Anti-bot bypass included
Not ready? Get our newsletter instead.