pip django version code example Example 1: latest version of django pip install Django==3.1.5 Example 2: latest django version pip install django=3.1.6