7

I tried it on virtualenv:

(venv) $ pip install Django==1.0.4
Downloading/unpacking Django==1.0.4
  Could not find a version that satisfies the requirement Django==1.0.4 (from versions: )
No distributions matching the version for Django==1.0.4
Storing complete log in /home/tokibito/.pip/pip.log
tokibito
  • 113
  • 5

3 Answers3

12

Unfortunately, PyPI only has Django versions 1.1.4 and upwards. If you want the old version, you can just install directly from github:

pip install git+https://github.com/django/django.git@1.0.4

drewman
  • 1,565
  • 11
  • 15
1

You could always point your requirement.txt directly at the version you want from the official Github repository. I've never done it this way, so I can't walk you through it, but it seems like a viable option if you need to run a specific version that's not on PyPI.

acjay
  • 34,571
  • 6
  • 57
  • 100
1

You can specify an alternative code source within your requirements.txt file.

#Django==1.0.4
git+https://github.com/django/django.git@1.0.4
Aaron
  • 2,409
  • 29
  • 18