Thank you Palmen, Can you please add more information about the binary component ?
Where is it and how to exclude ? This will help other community members who wants to use it on AIX.
Between when I tried to install cx_Oracle on my AIX system it worked just fine.
# pip3 install cx_Oracle-8.1.0.tar.gz
Processing ./cx_Oracle-8.1.0.tar.gz
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=271944 sha256=04a6a5a93b4e59fa7dd93e9ccf1c6dbaf558c7a222292d2e6845f962eb835114
Stored in directory: /.cache/pip/wheels/f3/70/83/610aadb38270d2ae7163bc5affd46fafb49504fc0c16c2c246
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 21.0.1 is available.
You should consider upgrading via the '/opt/freeware/bin/python3 -m pip install --upgrade pip' command.
#
------------------------------
SANKET RATHI
------------------------------
Original Message:
Sent: Mon April 26, 2021 02:48 AM
From: Plamen Tanovski
Subject: How to install cx_Oracle on AIX?
Hi,
cx_Oracle has a binary component which will not compile on AIX, because it has an OS dependent code. I was able to comment out that code and compile the module, so our customers are using it now on AIX in production.
Greetings from Leipzig,
P. Tanvoski
------------------------------
Plamen Tanovski
Original Message:
Sent: Fri April 23, 2021 04:44 AM
From: Janko Lengyel
Subject: How to install cx_Oracle on AIX?
Hi,
we are using YUM on our AIX 7.1 (TL5) systems an our database admins requestet to install python3 and cx_Oracle 8.1 on our systems. Pyhon3 seems to be fine, as it is provided via YUM, but I can't find cx_Oracle for AIX anywhere. There don't seems to be an AIX wheel (https://pypi.org/project/cx-Oracle/#files).
Is anyone using cx_Oracle on AIX and could help me, get it working?
------------------------------
Janko
Leipzig, Germany
------------------------------