无法在Ubuntu中使用yum安装python-pip。已解决

无法在Ubuntu中使用yum安装python-pip。已解决,python,ubuntu,installation,yum,Python,Ubuntu,Installation,Yum,我收到了错误信息 failure: repodata/repomd.xml from HDP-2.6-repo-1: [Errno 256] No more mirrors to try. http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.6.5.0/repodata/repomd.xml: [Errno 14] HTTP Error 403 - Forbidden 使用命令时 # yum install python

我收到了错误信息

failure: repodata/repomd.xml from HDP-2.6-repo-1: [Errno 256] No more mirrors to try.
http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.6.5.0/repodata/repomd.xml: [Errno 14] HTTP Error 403 - Forbidden
使用命令时

# yum install python-pip
当试图通过putty安装软件包时,它显示了同样的错误


您能帮我解决这个问题吗?

通过使用这两种方法进行配置。然后安装python:

yum config manager--save--setopt=HDP-SOLR-2.3-100。如果不可用,则跳过\u=true

yum install https://repo.ius.io/ius-release-e17.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
安装python:
yum安装python-pip

这有帮助吗?请检查此链接:@VSCloud9上面的链接不是完整的帮助。它显示apt不可用that@Deniz这里没有显示类似于该错误的文件或目录。我怀疑如何在该目录中创建这些文件。请您指导我是否可以尝试以下操作:
\yum--disablerepo=REPONAME repolist