how install django latest version code example Example 1: django latest version pip install Django==3.1.1 Example 2: latest django version pip install django=3.1.6