How to install django 1.4

前端 未结 2 1913
谎友^
谎友^ 2021-02-15 16:36

When trying to download django through:

sudo pip uninstall django

However, this downloads the new version of django 1.5. How would I force down

相关标签:
2条回答
  • 2021-02-15 17:27

    Use this command :

    pip install django=="1.7"
    

    Administrator privilege may be required. If so then use it with sudo command.

    Here the version is used 1.7 you should your required version.

    You can also have a look at this tutorial : How to Install Django

    0 讨论(0)
  • 2021-02-15 17:39

    This can be done by using this command

    sudo pip install django==1.4 #or any desired version.
    

    should work.

    0 讨论(0)
提交回复
热议问题