Cannot install python-pip using yum in Ubuntu

Question:

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?

Asked By: Kukesh

||

Answers:

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

Answered By: Kukesh
Categories: questions Tags: , , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.