我在 VirtualBox 上安装了 HDP 2.6.1 并尝试运行
yum install python-pip
但是,出现以下错误:
http://dev2.hortonworks.com.s3.amazonaws.com/repo/dev/master/utils/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden"
Trying other mirror.
To address this issue please refer to the below knowledge base article
https://access.redhat.com/solutions/69319
If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: sandbox. Please verify its path and try again
由于我需要pip来安装MRJob,如何才能成功安装pip?
我通过以下方式解决了这个问题:
cd /etc/yum.repos.d
mv sandbox.repo /tmp
如果您查看该文件,您会发现它指的是http://dev2.hortonworks.com.s3.amazonaws.com http://dev2.hortonworks.com.s3.amazonaws.com作为基本网址。
然后yum install python-pip
有效,但以防万一我再次需要该沙箱存储库,我将其移回原处mv /tmp/sandbox.repo .
编辑 - 我在 docker 映像上,但我想对于虚拟机来说也是一样的。
A
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)