为什么Django 1.0.x无法从PyPI安装?

tok*_*ito 7 python django pip virtualenv easy-install

我在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
Run Code Online (Sandbox Code Playgroud)

dre*_*man 12

不幸的是,PyPI只有Django版本1.1.4及更高版本.如果你想要旧版本,你可以直接从github安装:

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