简体   繁体   English

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

[英]Cannot install python-pip using yum in Ubuntu..Solved

I have the error message我有错误信息

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

when using the command使用命令时

# yum install python-pip

While trying to install the package through putty it showed the same kind of error.在尝试通过腻子安装 package 时,它显示了同样的错误。

Can you help me fix this problem?你能帮我解决这个问题吗?

By using those two commends make a configuration.then install python:通过使用这两个命令进行配置。然后安装 python:

yum-config-manager --save --setopt=HDP-SOLR-2.3-100.skip_if_unavailable=true

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

Install python: yum install python-pip安装 python: yum install python-pip

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM