无法检索存储库的存储库元数据(repomd.xml):sandbox.请验证其路径,然后重试

Sau*_*ron 3 python hadoop pip hortonworks-data-platform

我在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
Run Code Online (Sandbox Code Playgroud)

因为我需要pip来安装MRJob,我怎样才能成功安装pip?

ama*_*ain 17

我解决了这个问题:

cd /etc/yum.repos.d mv sandbox.repo /tmp

如果您查看该文件,您会看到它将http://dev2.hortonworks.com.s3.amazonaws.com称为baseurl.

然后yum install python-pip工作,但以防万一我需要沙箱回购再次移动它mv /tmp/sandbox.repo .

编辑 - 我在Docker镜像上,但我想VM也是如此.一个