pip install django ==2.2 code example Example 1: latest version of django pip install Django==3.1.5 Example 2: django download pip install Django==3.1.1