我正在尝试安装本地版本的ScrumDo进行testing。 只有在我的安装中,我必须运行:
源bin /激活
pip install -r requirements.txt
我得到的错误:
下载/解压django-storages
- 获取“403访问被拒绝”错误,而不是服务文件(使用django,gunicorn nginx)
- 是否可以在Webfaction中部署elasticsearch?
- 在一个主机上部署多个django实例
- ImportError:没有名为_socket的模块? WSGI部署到Apache
- 在apache2 prefork中closures打开的描述符
无法获取索引库urlhttp://b.pypi.python.org/simple/
无法find满足django-storages要求的任何下载根本没有发现django-storages的分布
存储完整的日志./pip-log.txt
我GOOGLE了一下,search这里和堆栈溢出,发现我应该添加一个–proxy =选项和/或取消设置我的http_proxy环境variables。 然而,我的安装没有代理,环境var没有设置。 我试过跑步
pip install -r requirements.txt –proxy =
然而,错误仍然是一样的。 我还创build了一个/root/.pip/pip.conf,其中包含:
[全球]
index-url = http://b.pypi.python.org/simple
并检查它的服务器实际上在线,如果包Django-Storages存在,这是真实的。
我尝试过的最后一件事,因为ScrumDo的安装文档如此说:
pip安装-U Django == 1.1.4
再次没有成功…错误总是保持不变,任何人有任何想法?
我的pip-error.log显示以下内容(该URL在同一networking中的另一台机器上的firefox中也可以使用,不需要代理):
/var/www/ScrumDo/pinax-env/bin/pip run on Mon Jul 30 10:24:08 2012 proxy): Downloading/unpacking Django==1.1.4 proxy): Getting page http://b.pypi.python.org/simple/Django proxy): Could not fetch URL http://b.pypi.python.org/simple/Django: HTTP Error 404: Not Found proxy): Will skip URL http://b.pypi.python.org/simple/Django when looking for download links for Django==1.1.4 proxy): Getting page http://b.pypi.python.org/simple/ proxy): Could not fetch URL http://b.pypi.python.org/simple/: HTTP Error 404: Not Found proxy): Will skip URL http://b.pypi.python.org/simple/ when looking for download links for Django==1.1.4 proxy): Cannot fetch index base URL http://b.pypi.python.org/simple/ proxy): URLs to search for versions for Django==1.1.4: proxy): * http://b.pypi.python.org/simple/Django/1.1.4 proxy): * http://b.pypi.python.org/simple/Django/ proxy): Getting page http://b.pypi.python.org/simple/Django/1.1.4 proxy): Getting page http://b.pypi.python.org/simple/Django/ proxy): Could not fetch URL http://b.pypi.python.org/simple/Django/1.1.4: HTTP Error 404: Not Found proxy): Will skip URL http://b.pypi.python.org/simple/Django/1.1.4 when looking for download links for Django==1.1.4 proxy): Could not fetch URL http://b.pypi.python.org/simple/Django/: HTTP Error 404: Not Found proxy): Will skip URL http://b.pypi.python.org/simple/Django/ when looking for download links for Django==1.1.4 proxy): Could not find any downloads that satisfy the requirement Django==1.1.4 No distributions at all found for Django==1.1.4 proxy): Exception information: proxy): Traceback (most recent call last): File "/var/www/ScrumDo/pinax-env/lib/python2.6/site-packages/pip-0.6.1-py2.6.egg/pip.py", line 482, in main proxy): self.run(options, args) proxy): File "/var/www/ScrumDo/pinax-env/lib/python2.6/site-packages/pip-0.6.1-py2.6.egg/pip.py", line 675, in run proxy): requirement_set.install_files(finder, force_root_egg_info=self.bundle) proxy): File "/var/www/ScrumDo/pinax-env/lib/python2.6/site-packages/pip-0.6.1-py2.6.egg/pip.py", line 2422, in install_files proxy): url = finder.find_requirement(req_to_install, upgrade=self.upgrade) proxy): proxy): File "/var/www/ScrumDo/pinax-env/lib/python2.6/site-packages/pip-0.6.1-py2.6.egg/pip.py", line 1485, in find_requirement proxy): proxy): raise DistributionNotFound('No distributions at all found for %s' % req) proxy): proxy): DistributionNotFound: No distributions at all found for Django==1.1.4
我得到了完全相同的消息,甚至从wget:
--2012-10-10 14:18:58-- http://pypi.python.org/simple/Django/ 2012-10-10 14:18:58 ERROR 404: Not Found (Django does not have any releases).
这很奇怪,该URL在另一台计算机上正常工作,并且wgetting主页正常工作。
编辑:在我的情况下,我已经在我的/ etc / hosts文件中为PyPIcaching了IP,并且打到了那个IP,但是没有工作。 删除它,并让它使用正常的DNSparsing程序,它的工作。