Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

I'm not able to install pip in HDP 2.6.5 from Putty every time it shows this error

avatar
New Contributor

 have HDP 2.6.5, in which I'm able to run Ambari UI. Now, when I tried to install Pip by using PuTTy. I am getting this error.

These are the steps I tried in order; now after this, I have to install MapReduce as well.

 

*yum-config-manager --save --setopt=HDP-SOLR-2.6-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
*yum install python-pip

 

I'm in 3rd Step. This is error I'm getting.

Screenshot 2024-07-04 105434.png

2 REPLIES 2

avatar
Master Collaborator

Hello @naju 

This is an OS repo error. The 404 indicates that the repository locations that you have  in repo files which are located in /etc/yum.repos.d/ have incorrect URLs

Either fix those URLs manually and run the following command

# yum clean all

# rm -rf /var/cache/yum

# yum repolist

or else you might need to check with your OS team

 

avatar
New Contributor

could you please give me how to fix the url?? 

ls /etc/yum.repos.d/


ambari-hdp-1.repo CentOS-Debuginfo.repo CentOS-Vault.repo ius-archive.repo vault.centos.org_7.5.1804_os_x86_64_.repo
ambari.repo CentOS-fasttrack.repo epel.repo ius.repo
CentOS-Base.repo CentOS-Media.repo epel-testing.repo ius-testing.repo
CentOS-CR.repo CentOS-Sources.repo hdp-solr.repo mysql.repo