简体   繁体   中英

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.

Can you help me fix this problem?

By using those two commends make a configuration.then install 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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