How to install django 1.4

When trying to download django via:

sudo pip uninstall django 

However, this downloads the new version of django 1.5. How can I force download version 1.4 via pip? Here is what I get when I try to install:

 imac9:site-packages pdadmin$ sudo pip install django==1.4.1 Downloading/unpacking django==1.4.1 Running setup.py egg_info for package django warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' Requested django==1.4.1, but installing version 1.5.1 Installing collected packages: django Found existing installation: Django 1.5.1 
+7
source share
2 answers

This can be done using this command.

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

must work.

+26
source

Use this command:

 pip install django=="1.7" 

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

Version 1.7 is used here, you must specify your required version.

You can also watch this tutorial: How to install Django

+1
source

All Articles