HortonWorks Sandbox 2.5 yum install python-pip无法正常工作 [英] HortonWorks Sandbox 2.5 yum install python-pip not working

查看:136
本文介绍了HortonWorks Sandbox 2.5 yum install python-pip无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在HDP 2.5的虚拟映像上安装python pip.但是它无法引发错误.

I am trying to install python pip on the virtual image for HDP 2.5. But it fails throwing an error.

[root @ sandbox〜]#yum install python-pip

[root@sandbox ~]# yum install python-pip

已加载的插件:最快的镜像,ovl,优先级设置安装过程从缓存的主机文件加载镜像速度玉/金属墨水|15 kB 00:00
*基础:mirror.metrocast.net* epel:mirror.metrocast.net*额外内容:mirror.ilumno.com*更新:mirrors.oit.uci.edu

Loaded plugins: fastestmirror, ovl, priorities Setting up Install Process Loading mirror speeds from cached hostfile epel/metalink | 15 kB 00:00
* base: mirror.metrocast.net * epel: mirror.metrocast.net * extras: mirror.ilumno.com * updates: mirrors.oit.uci.edu http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/centos6/repodata/7fcacadb44b1a860fb704795c187f549103e855a0a93ed31293a0b270a9022b4-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 MCPMediaTypeBlocked" Trying other mirror. To address this issue please refer to the below knowledge base article

https://access.redhat.com/solutions/69319

如果以上文章无助于解决此问题,请在Red Hat支持下打开故障单.

If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.

错误:失败:repodata/7fcacadb44b1a860fb704795c187f549103e855a0a93ed31293a0b270a9022bb4-primary.sqlite.bz2来自HDP-UTILS-1.1.0.21:[Errno 256]没有更多尝试的镜像.[root @ sandbox〜]#百胜更新加载的插件:最快的镜像,ovl,优先级设置更新过程从缓存的主机文件加载镜像速度玉/金属墨水|12 kB 00:00
*基础:mirror.metrocast.net* epel:mirror.metrocast.net*额外内容:mirror.ilumno.com*更新:mirrors.oit.uci.edu

Error: failure: repodata/7fcacadb44b1a860fb704795c187f549103e855a0a93ed31293a0b270a9022b4-primary.sqlite.bz2 from HDP-UTILS-1.1.0.21: [Errno 256] No more mirrors to try. [root@sandbox ~]# yum update Loaded plugins: fastestmirror, ovl, priorities Setting up Update Process Loading mirror speeds from cached hostfile epel/metalink | 12 kB 00:00
* base: mirror.metrocast.net * epel: mirror.metrocast.net * extras: mirror.ilumno.com * updates: mirrors.oit.uci.edu http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/centos6/repodata/7fcacadb44b1a860fb704795c187f549103e855a0a93ed31293a0b270a9022b4-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 MCPMediaTypeBlocked" Trying other mirror. To address this issue please refer to the below knowledge base article

https://access.redhat.com/solutions/69319

如果以上文章无助于解决此问题,请在Red Hat支持下打开故障单.

If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.

错误:失败:repodata/7fcacadb44b1a860fb704795c187f549103e855a0a93ed31293a0b270a9022b4b4-primary.sqlite.bz2来自HDP-UTILS-1.1.0.21:[Errno 256]没有更多尝试的镜像.

Error: failure: repodata/7fcacadb44b1a860fb704795c187f549103e855a0a93ed31293a0b270a9022b4-primary.sqlite.bz2 from HDP-UTILS-1.1.0.21: [Errno 256] No more mirrors to try.

推荐答案

这实际上是Sandbox 2.5版的存储库问题.

This is actually a repository problem of Sandbox version 2.5.

您可以通过在根上下文中运行以下命令来解决此问题:

You can solve it by running the following commands in root context:

[root@sandbox maria_dev]# cd /etc/yum.repos.d
[root@sandbox yum.repos.d]# cp sandbox.repo /tmp
[root@sandbox yum.repos.d]# rm sandbox.repo

现在,您可以尝试再次安装pip,它应该可以正常运行:

Now you can try installing pip again and it should work fine:

[root@sandbox ~]# yum install python-pip

这篇关于HortonWorks Sandbox 2.5 yum install python-pip无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆