Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  Installing cx_Oracle on AIX?

    Posted Tue December 22, 2020 03:58 AM

    Hello!

    Anyone knowing good tips on how to install cx_oracle on AIX 7.2? 

    I assume it should be done somehow via pip ...but next question would be how to get pip installed on AIX? :)

    Br,

    tommi



    ------------------------------
    Tommi Sihvo, Lead Service Architect
    TietoEVRY, Compute Services
    email tommi.sihvo@tieto.com mobile +358 (0)40 5180 Finland
    ------------------------------

    #AIXOpenSource


  • 2.  RE: Installing cx_Oracle on AIX?

    Posted Wed December 30, 2020 12:19 AM

    You can install python3 from AIX toolbox. pip is provided a part of python package itself. 

    Once you have python3 on AIX you can install using pip command like following.

    # python3 -m pip install cx_oracle
    Collecting cx_oracle
    Downloading cx_Oracle-8.1.0.tar.gz (343 kB)
    |################################| 343 kB 4.9 MB/s
    Installing build dependencies ... done
    Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
    Building wheels for collected packages: cx-oracle
    Building wheel for cx-oracle (PEP 517) ... done
    Created wheel for cx-oracle: filename=cx_Oracle-8.1.0-cp37-cp37m-aix_7_2.whl size=271951 sha256=2a4ec3d1ec6d06453c6c0cedcbdbc0438d7e38a498fdeab359a6580e1985eff4
    Stored in directory: /.cache/pip/wheels/2d/bf/23/ca09f9d03408edc72ba4d2870ce1f0362e5b218df46e159f78
    Successfully built cx-oracle
    Installing collected packages: cx-oracle
    Successfully installed cx-oracle-8.1.0
    WARNING: You are using pip version 20.1.1; however, version 20.3.3 is available.
    You should consider upgrading via the '/opt/freeware/bin/python3 -m pip install --upgrade pip' command.



    ------------------------------
    SANKET RATHI
    ------------------------------



  • 3.  RE: Installing cx_Oracle on AIX?

    Posted Wed December 30, 2020 03:30 AM

    Thanks Sanket; Will try this !

    Br,

    tommi



    ------------------------------
    Tommi Sihvo, Lead Service Architect
    TietoEVRY, Compute Services
    email tommi.sihvo@tieto.com mobile +358 (0)40 5180 Finland
    ------------------------------