Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is Django 1.0.x not able to install from PyPI?

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
like image 986
tokibito Avatar asked Dec 14 '12 00:12

tokibito


3 Answers

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/[email protected]

like image 69
drewman Avatar answered Oct 03 '22 00:10

drewman


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.

like image 27
acjay Avatar answered Oct 02 '22 22:10

acjay


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

#Django==1.0.4
git+https://github.com/django/[email protected]
like image 25
Aaron Avatar answered Oct 03 '22 00:10

Aaron