I want to install django1.5x. So I tried:
我要安装django1.5x。所以我试着:
pip install django
but django1.6
gets installed.
但是django1.6安装。
I tried again by:
我再次尝试:
pip install django==1.5
but I got error:
但是我有错误:
Could not find any downloads that satisfy the requirement django==1.5
No distributions at all found for django==1.5
Storing complete log in /home/suhail/.pip/pip.log
6 个解决方案
#1
13
pip install django=="1.5"
works for me
适合我
pip install django=="1.5"
Downloading/unpacking django==1.5
Downloading Django-1.5.tar.gz (8.0MB): 8.0MB downloaded
Running setup.py egg_info for package django
What version of Python are you using?
您正在使用什么版本的Python ?
#2
8
Specify version as <1.6
:
版本指定为< 1.6:
pip install "Django<1.6"
This installs Django 1.5.5 for now.
现在安装Django 1.5.5。
NOTE: Don't forget the quotes. otherwise <
is interpreted as redirection.
注意:不要忘记引用。否则 <被解释为重定向。< p>
#3
3
Did you try to give the exact version number?
你试过给出确切的版本号吗?
pip install django==1.5.5
#4
1
If you have any other version installed, first uninstall it using pip
:
如果您已经安装了其他版本,请首先使用pip卸载:
pip uninstall django
next install the desired version:
接下来安装所需的版本:
pip install django==1.5x #or any version of choice
#5
0
I just got the same error when trying to upgrade from 1.5.5 to 1.6. By-passing our proxy server by unchecking the proxy configuration on IE's Internet Options > Connections > LAN Settings > Proxy Server. It looks like our proxy blocks the connection port of pip.
当我试图从1.5.5升级到1.6时,我得到了同样的错误。通过取消IE Internet选项>连接> LAN设置>代理服务器上的代理配置,绕过我们的代理服务器。看起来我们的代理阻止了pip的连接端口。
#6
0
I had the same problem, I guess it is a pip bug, that I can not install a number extension for a specific version, well sometimes even without a specific version. I doubt sometimes it is due to internet connection, as I had several times time out problem. I would try to use this pip usage to install my target version:
我有同样的问题,我猜是pip错误,我不能为一个特定的版本安装一个数字扩展,有时甚至没有一个特定的版本。我怀疑有时这是由于网络连接,因为我有好几次超时的问题。我会尝试使用pip来安装我的目标版本:
pip install http://my.package.repo/SomePackage-1.0.4.zip
#1
13
pip install django=="1.5"
works for me
适合我
pip install django=="1.5"
Downloading/unpacking django==1.5
Downloading Django-1.5.tar.gz (8.0MB): 8.0MB downloaded
Running setup.py egg_info for package django
What version of Python are you using?
您正在使用什么版本的Python ?
#2
8
Specify version as <1.6
:
版本指定为< 1.6:
pip install "Django<1.6"
This installs Django 1.5.5 for now.
现在安装Django 1.5.5。
NOTE: Don't forget the quotes. otherwise <
is interpreted as redirection.
注意:不要忘记引用。否则 <被解释为重定向。< p>
#3
3
Did you try to give the exact version number?
你试过给出确切的版本号吗?
pip install django==1.5.5
#4
1
If you have any other version installed, first uninstall it using pip
:
如果您已经安装了其他版本,请首先使用pip卸载:
pip uninstall django
next install the desired version:
接下来安装所需的版本:
pip install django==1.5x #or any version of choice
#5
0
I just got the same error when trying to upgrade from 1.5.5 to 1.6. By-passing our proxy server by unchecking the proxy configuration on IE's Internet Options > Connections > LAN Settings > Proxy Server. It looks like our proxy blocks the connection port of pip.
当我试图从1.5.5升级到1.6时,我得到了同样的错误。通过取消IE Internet选项>连接> LAN设置>代理服务器上的代理配置,绕过我们的代理服务器。看起来我们的代理阻止了pip的连接端口。
#6
0
I had the same problem, I guess it is a pip bug, that I can not install a number extension for a specific version, well sometimes even without a specific version. I doubt sometimes it is due to internet connection, as I had several times time out problem. I would try to use this pip usage to install my target version:
我有同样的问题,我猜是pip错误,我不能为一个特定的版本安装一个数字扩展,有时甚至没有一个特定的版本。我怀疑有时这是由于网络连接,因为我有好几次超时的问题。我会尝试使用pip来安装我的目标版本:
pip install http://my.package.repo/SomePackage-1.0.4.zip