Discover this year's submissions to the Dataiku Frontrunner Awards and give kudos to your favorite use cases and success stories!READ MORE

No package python3 available.

Solved!
ytekaji
Level 2
Level 2
No package python3 available.

Hello,

 

When trying to install the dependencies using the script:

sudo -i "/apps/source/dataiku-dss-10.0.2/scripts/install/install-deps.sh" -without-java

 

it gives error : 

No package python3 available.

 

any hints please? I have the "epel" repository identified in my OS.

 

Regards,

Yamen


Operating system used: RHEL

0 Kudos
1 Solution
AlexT
Dataiker
Dataiker

If you don't have an RHEL subscription you should probably use CentOS instead. Since you may have other packages not available on EPEL,  if that's the only working repo you have. 

 

You are probably better off just installing it from the source if you want to use RH.

If you do have a subscription:

https://developers.redhat.com/blog/2018/08/13/install-python3-rhel#install_python_3

Steps to install from source :


yum install  zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev wget


cd /tmp
wget https://www.python.org/ftp/python/3.6.15/Python-3.6.15.tgz
tar -xf Python-3.6.15.tgz
cd python-3.6.15
./configure --enable-optimizations
sudo make altinstall


Verify by running: python3.6 -V

View solution in original post

0 Kudos
4 Replies
AlexT
Dataiker
Dataiker

Hi @ytekaji ,

You will need to first ensure that python3 is already installed on your system as this is a pre-requisite.

Please run: 

yum install python3

Check python3 is available using: which python3.6

 

 

Thanks,

0 Kudos
ytekaji
Level 2
Level 2
Author

Thanks for your reply @AlexT

 

I am trying to yum install python3 but it is giving error that : No package python3 available.

In which repository it should exist? I do not have RHEL subscription. I have epel, though.

Regards,

Yamen

 

 

0 Kudos
AlexT
Dataiker
Dataiker

If you don't have an RHEL subscription you should probably use CentOS instead. Since you may have other packages not available on EPEL,  if that's the only working repo you have. 

 

You are probably better off just installing it from the source if you want to use RH.

If you do have a subscription:

https://developers.redhat.com/blog/2018/08/13/install-python3-rhel#install_python_3

Steps to install from source :


yum install  zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev wget


cd /tmp
wget https://www.python.org/ftp/python/3.6.15/Python-3.6.15.tgz
tar -xf Python-3.6.15.tgz
cd python-3.6.15
./configure --enable-optimizations
sudo make altinstall


Verify by running: python3.6 -V

0 Kudos
ytekaji
Level 2
Level 2
Author

Thanks @AlexT 

your recommendation fixed it.. I have python 3.6 installed and verified.

0 Kudos

Labels

?
Labels (3)
A banner prompting to get Dataiku