我正在尝试安装Django 1.4.3,但是当我执行pip install命令时,pip却安装了Django 1.5版本而不是1.4.3版本。
使用以下命令进行安装: sudo pip install -I Django==1.4.3
执行后返回的结果为:
但是如果我执行pip freeze命令,它一直显示
使用以下命令进行安装: sudo pip install -I Django==1.4.3
执行后返回的结果为:
Downloading/unpacking Django==1.4.3
Running setup.py egg_info for package Django
warning: no previously-included files matching '__pycache__' found under directory '*'
warning: no previously-included files matching '*.py[co]' found under directory '*'
=== >>>> Requested Django==1.4.3, but installing version 1.5 <<<< ====
Installing collected packages: Django
Found existing installation: Django 1.5
Uninstalling Django:
Successfully uninstalled Django
Running setup.py install for Django
warning: no previously-included files matching '__pycache__' found under directory '*'
warning: no previously-included files matching '*.py[co]' found under directory '*'
changing mode of /usr/local/bin/django-admin.py to 755
Successfully installed Django
Cleaning up...
但是如果我执行pip freeze命令,它一直显示
Django==1.5
我做错了什么?
pip install Django==1.4.3
吗? - catherine