我正在尝试安装 Django 1.4.3,但是当我执行 pip install 时,pip 继续安装 Django 1.5 版本而不是 1.4.3
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 ,它会一直显示
姜戈==1.5
我究竟做错了什么?
谢谢