Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get an older version of Django? Pip says could not find version

Tags:

python

django

I need Django 0.96. I have a huge Django project which I need to run, but it's very very tied to 0.96, I could take a looot of time to port it 1.x

When I do pip install django==0.96 I get this

Could not find a version that satisfies the requirement django==0.96 (from versions: 1.1.3, 1.1.4, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.2, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6, 1.3.7, 1.3, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.4.6, 1.4.7, 1.4.8, 1.4, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5)

How do I Install Django 0.96?

like image 424
ComputerFellow Avatar asked Oct 04 '13 11:10

ComputerFellow


People also ask

Could not find a version that satisfies the requirement pip?

Solution 1: Just update pip You just need to update pip and your error will be resolve. Just follow this command. If you are windows users Then run this command. And then also upgrade setuptools after doing the above.

How do I downgrade Django version?

If you want to upgrade Django, then you can run pip install --upgrade django . If you would like to downgrade, then you can run pip install django==<versionnumber> . Replace <versionnumber> with the actual number, like 2.2.

How do I install different versions of Django?

If you want to install a specific Django version, then you use the exact same command but you add something at the end, which is you define the version that you want to use, so a double equal sign ( == ) and then a version number is going to make pip install that specific version of Django.


2 Answers

You can install from git repo:

pip install git+https://github.com/django/django@c939b2a1cb22b5035b1ccf90ee7686f334e6049d#egg=django==0.96.5
like image 128
Tommaso Barbugli Avatar answered Oct 12 '22 06:10

Tommaso Barbugli


That old version is not available on pip. Here are the links to versions of branch 0.96.x: 0.96.5, 0.96.4, 0.96.3, 0.96.2, 0.96.1 and 0.96

like image 44
jabaldonedo Avatar answered Oct 12 '22 04:10

jabaldonedo