pip install request library code example
Example 1: install requests python
pip install requests # or pip3 install requests
Example 2: install requests python
$ python -m pip install requests
pip install requests # or pip3 install requests
$ python -m pip install requests