2017-09-18 56 views
2

我有HDP 2.6.1安裝VirtualBox和我嘗試運行無法檢索存儲庫:沙箱的存儲庫元數據(repomd.xml)。請確認它的路徑,然後再試一次

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 

,因爲我需要點子安裝MRJob,我該如何成功安裝pip?

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

如果你在你看到它是指http://dev2.hortonworks.com.s3.amazonaws.com作爲baseURL時該文件看:

回答

12

我由固定這一點。

然後yum install python-pip工作,但爲了以防萬一,我需要的是沙箱回購再次我把它背mv /tmp/sandbox.repo .

編輯 - 我是搬運工圖像上,但我想將VM的相同。 A

+0

感謝您的分享! –

相關問題