Hello Michael,
We are not able to install cx_Oracle now. Please find the below error. It seems compiler issue again.
soa@ztapp08:/home/soa # pip3 install cx_Oracle
Collecting cx_Oracle
Downloading
https://files.pythonhosted.org/packages/d0/00/2d4b1e27da6dda2408dcfe4e192b26c2e190be573c6aadb0c97739f15774/cx_Oracle-7.2.3.tar.gz (303kB)
|################################| 307kB 1.2MB/s
Building wheels for collected packages: cx-Oracle
Building wheel for cx-Oracle (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /opt/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-tz_tokf2/cx-Oracle/setup.py'"'"'; __file__='"'"'/tmp/pip-install-tz_tokf2/cx-Oracle/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-c080b36e --python-tag cp36
cwd: /tmp/pip-install-tz_tokf2/cx-Oracle/
Complete output (12 lines):
running bdist_wheel
running build
running build_ext
building 'cx_Oracle' extension
creating build
creating build/temp.AIX.7105.1831.32-3.6
creating build/temp.AIX.7105.1831.32-3.6/src
creating build/temp.AIX.7105.1831.32-3.6/odpi
creating build/temp.AIX.7105.1831.32-3.6/odpi/src
xlc_r -DNDEBUG -O -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -DCXO_BUILD_VERSION=7.2.3 -Iodpi/include -Iodpi/src -I/opt/include/python3.6m -c src/cxoBuffer.c -o build/temp.AIX.7105.1831.32-3.6/src/cxoBuffer.o -DAIX5
unable to execute 'xlc_r': Permission denied
error: command 'xlc_r' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for cx-Oracle
Running setup.py clean for cx-Oracle
Failed to build cx-Oracle
Installing collected packages: cx-Oracle
Running setup.py install for cx-Oracle ... error
ERROR: Command errored out with exit status 1:
command: /opt/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-tz_tokf2/cx-Oracle/setup.py'"'"'; __file__='"'"'/tmp/pip-install-tz_tokf2/cx-Oracle/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-8fqeqwg2/install-record.txt --single-version-externally-managed --compile
cwd: /tmp/pip-install-tz_tokf2/cx-Oracle/
Complete output (12 lines):
running install
running build
running build_ext
building 'cx_Oracle' extension
creating build
creating build/temp.AIX.7105.1831.32-3.6
creating build/temp.AIX.7105.1831.32-3.6/src
creating build/temp.AIX.7105.1831.32-3.6/odpi
creating build/temp.AIX.7105.1831.32-3.6/odpi/src
xlc_r -DNDEBUG -O -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -DCXO_BUILD_VERSION=7.2.3 -Iodpi/include -Iodpi/src -I/opt/include/python3.6m -c src/cxoBuffer.c -o build/temp.AIX.7105.1831.32-3.6/src/cxoBuffer.o -DAIX5
unable to execute 'xlc_r': Permission denied
error: command 'xlc_r' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /opt/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-tz_tokf2/cx-Oracle/setup.py'"'"'; __file__='"'"'/tmp/pip-install-tz_tokf2/cx-Oracle/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-8fqeqwg2/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.