linux install requests code example Example 1: install requests python pip install requests Example 2: install requests python $ python -m pip install requests