找不到满足django-1.6.1要求的任何下载

时间:2014-04-13 18:46:57

标签: django pip

我正在浏览Django的this教程。我在virtualenv之外安装了Django,但在内部,我尝试使用与链接视频相同的版本。我使用命令

pip install django--1.6.1

但是收到以下错误消息:

(skillshare)skillshare$ pip install django--1.6.1
Downloading/unpacking django-1.6.1
    Could not find any downloads that satisfy the requirement django-1.6.1
Cleaning up...
    No distributions at all found for django-1.6.1 
    Storing debug log for failure in /Users/NAThompson/.pip/pip.log

日志文件显示为:

  Getting page https://pypi.python.org/simple/django--1.6.1/
  Could not fetch URL https://pypi.python.org/simple/django--1.6.1/: 
  404 Client    Error: Not Found
  Will skip URL https://pypi.python.org/simple/django--1.6.1/ when looking for 
   download
  links for django-1.6.1
  Getting page https://pypi.python.org/simple/
  URLs to search for versions for django-1.6.1:
  * https://pypi.python.org/simple/django--1.6.1/
  Getting page https://pypi.python.org/simple/django--1.6.1/
  Could not fetch URL https://pypi.python.org/simple/django--1.6.1/: 
  404 Client Error: Not Found

如何解决这个问题?

1 个答案:

答案 0 :(得分:4)

你的命令错了,那是对的:

pip install django==1.6.1