Open Source Development

Open Source Development

Connect, learn, share, and engage with IBM Power.

 View Only
  • 1.  Python 3.9 on AIX 7.2

    Posted Tue June 10, 2025 10:05 AM

    To upgrade Python from 3.9.16 to 3.9.19 on an AIX 7.2 server what are the steps involved.

    I am running setuptools & it gave me error Failed dependecies.

    root@favmdqm1: :/users/u410203/DNF # rpm -ivh  python3.9-setuptools-72.1.0-1.aix7.1.noarch.rpm
    warning: python3.9-setuptools-72.1.0-1.aix7.1.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    error: Failed dependencies:
            python3.9 >= 3.9.19 is needed by python3.9-setuptools-72.1.0-1.noarch

    Do we have a complete package to download & install it on AIX 7.2.

    I tried to download and install python3.9.22 below is the list of Failed dependencies.

    root@favmdqm1: :/users/u410203/DNF # rpm -ivh python3.9-3.9.22-1.aix7.1.ppc.rpm
    warning: python3.9-3.9.22-1.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    error: Failed dependencies:
            bzip2 >= 1.0.8 is needed by python3.9-3.9.22-1.ppc
            expat >= 2.6.3 is needed by python3.9-3.9.22-1.ppc
            gdbm >= 1.23 is needed by python3.9-3.9.22-1.ppc
            gettext >= 0.21 is needed by python3.9-3.9.22-1.ppc
            libexpat.a(libexpat.so.1) is needed by python3.9-3.9.22-1.ppc
            libffi >= 3.4.4 is needed by python3.9-3.9.22-1.ppc
            libffi.a(libffi.so.8) is needed by python3.9-3.9.22-1.ppc
            libgcc >= 10.3.0 is needed by python3.9-3.9.22-1.ppc
            libgdbm.a(libgdbm.so.6) is needed by python3.9-3.9.22-1.ppc
            liblzma.a(liblzma.so.5) is needed by python3.9-3.9.22-1.ppc
            libncurses.a(libncurses.so.6) is needed by python3.9-3.9.22-1.ppc
            libpanel.a(libpanel.so.6) is needed by python3.9-3.9.22-1.ppc
            ncurses >= 6.4 is needed by python3.9-3.9.22-1.ppc
            readline >= 8.2 is needed by python3.9-3.9.22-1.ppc
            sqlite >= 3.45.3 is needed by python3.9-3.9.22-1.ppc
            xz-libs >= 5.4.3 is needed by python3.9-3.9.22-1.ppc
            zlib >= 1.2.13 is needed by python3.9-3.9.22-1.ppc



    ------------------------------
    Uday Birje
    ------------------------------


  • 2.  RE: Python 3.9 on AIX 7.2

    Posted Wed June 11, 2025 06:31 AM

    Uday, use DNF to install and update RPM packages on AIX. 

    https://www.ibm.com/support/pages/node/6585774



    ------------------------------
    Andrey Klyachkin

    https://www.power-devops.com
    ------------------------------



  • 3.  RE: Python 3.9 on AIX 7.2

    Posted Wed July 02, 2025 11:49 AM

    I tried to install DNF and getting the below error.How do i set up a local repository for an AIX system where no internet access is allowed due to the organization's security policy.

    root@favmdqm1: :/users/u410203/DNF # ./dnf_aixtoolbox.sh -y
    Attempting download of dnf_bundle_aix_71_72.tar ...
    lwp-download: 500 Can't connect to public.dhe.ibm.com:80 (Connection timed out)
    Failed to download dnf_bundle_aix_71_72.tar



    ------------------------------
    Uday Birje
    ------------------------------



  • 4.  RE: Python 3.9 on AIX 7.2

    Posted Thu July 03, 2025 05:48 AM

    Uday,

    if you get the error, you have an old version of the script. The script dnf_aixtoolbox.sh uses https and your script tries to connect using plain http. 

    Download the script from the URL I provided before and try again.



    ------------------------------
    Andrey Klyachkin

    https://www.power-devops.com
    ------------------------------