請告訴我一些在ubuntu中安裝Django的方法,不需要使用pip for python 2.7 我正在使用代理連接。我已經嘗試了其他答案中顯示的用於導出pip代理的步驟。如何在virtualenv中安裝Django python 2.7
當我嘗試pip install Django==1.6.2
它顯示錯誤
Downloading/unpacking Django
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement Django
Cleaning up...
No distributions at all found for Django
Storing debug log for failure in /home/shivam/.pip/pip.log
另外,我無法使用PIP安裝任何東西。
我可以問你爲什麼要安裝django 1.6.x而不是更新的版本? – Sayse
可能是pypi網站的臨時網絡問題或問題,但很確定這應該是小寫:'pip install django == 1.6.2' – Anentropic
您正在使用哪個版本的pip?日誌說什麼('/ home/shivam/.pip/pip.log')? – Linkid