166
There was never a Django 1.0.7. The 1.0 series only went up to 1.0.4. You can see all the releases in the tags section of the Django code repository.
However to answer your question, don’t use easy_install
, use pip
. (If it’s not already installed, do easy_install pip
, then never touch easy_install again). Now you can do:
pip install Django==1.0.4
3
+1 on the previous poster’s reply: use pip
if you can. But, in a pinch, the easiest way is to install an older version would be to download the tarball from the downloads page or, if you have subversion installed, do an svn export
of the release you want (they are all tagged here).
Once you have the version of Django you want, just run the following command inside the django directory:
python setup.py install
This will install that version of Django in your virtualenv.
- [Django]-Multiple annotate Sum terms yields inflated answer
- [Django]-Django – How to use decorator in class-based view methods?
- [Django]-Django admin make a field read-only when modifying obj but required when adding new obj
3
+1 for already mentioned solutions.
I just wanna add another solution.
To install a specific version of Django (say 1.10.x),
-
Clone the Django repo from Github.
git clone https://github.com/django/django.git
-
Go into the directory and checkout to the specific branch.
cd django
git checkout origin/stable/1.10.x
-
Run install command.
python setup.py install
- [Django]-Django: Calculate the Sum of the column values through query
- [Django]-Numeric for loop in Django templates
- [Django]-Phpmyadmin logs out after 1440 secs
- [Django]-How do I go straight to template, in Django's urls.py?
- [Django]-Creating a JSON response using Django and Python
- [Django]-What's the difference between `from django.conf import settings` and `import settings` in a Django project
1
pip install django==(the desired version ex: 1.8.4)
This will allow you to install the desired version, and I tried on OS:Windows10 and it perfectly worked.
- [Django]-Why there are two process when i run python manage.py runserver
- [Django]-Warning: Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'
- [Django]-Using Pylint with Django