pip install requests==2.2.1 code example Example 1: install requests python pip install requests Example 2: how to import requests in python pip install requests