No package python3 available.

ytekaji
ytekaji Partner, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 4 Partner

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

Best Answer

  • Alexandru
    Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,399 Dataiker
    Answer ✓

    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

Answers

  • Alexandru
    Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,399 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,

  • ytekaji
    ytekaji Partner, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 4 Partner

    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

  • ytekaji
    ytekaji Partner, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 4 Partner

    Thanks @AlexT

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

Setup Info
    Tags
      Help me…