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