7
當試圖下載Django的經過:如何安裝Django 1.4
sudo pip uninstall django
然而,這種下載的Django 1.5的新版本。我將如何強制通過pip下載1.4版本?以下是我在嘗試安裝時:
imac9:site-packages pdadmin$ sudo pip install django==1.4.1
Downloading/unpacking django==1.4.1
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.1, but installing version 1.5.1
Installing collected packages: django
Found existing installation: Django 1.5.1
是的,儘管它仍然安裝版本1.5。 – David542 2013-04-11 20:03:54
如果你已經安裝了1.5以前的版本,請從'/dist-packages /' –
karthikr
2013-04-11 20:18:10
@karthikr手動刪除它,謝謝。我會怎麼做? – David542 2013-04-11 20:18:31