Support Questions

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

Python installation failed on hadoop sandbox 2.5

avatar
New Contributor

I am trying to install python on HDP 2.5

I am using oracle virtualbox 

I already followed the following steps 

1. su root

2. cd /etc/yum.repos.d

3. cp sandbox.repo /tmp

4. rm sandbox.repo

5. cd ~

 

I am getting this error::

Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base

 

3 REPLIES 3

avatar
Super Collaborator

 

@therealfortune 

 

After removing sandbox.repo please run the command "yum clean all" and initiate installation with the OS Base repos. Make sure that OS Base Repos are available/working using the default URLs. 

 

If you are using CentOS6, then all the CentOS6 Base Repos are unavailable using the default URLs and you should replace OS Base repos with the vault one to resolve this issue.

 

Let us know if this information helped you. 

 

avatar
New Contributor

How can I initiate the installation with the os base repos?

I am new to all of this, so please  break it down further for me

baseurl.jpg

 

which of these is the base repo please

avatar
Super Collaborator

@therealfortune 

 

As per your OS version you can search it in google and build the OS base repo to install the necessary packages.