Saturday, February 26, 2022

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

Issue

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?


Solution

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
Answer Checked By - Mildred Charles (WPSolving Admin)