pip install djago 3 code example Example 1: install django using pip sudo pip3 install django Example 2: pip install django $ python -m pip install Django