Re: [cx-oracle-users] cx_Oracle 6.2
Brought to you by:
atuining
|
From: Walter <wa...@li...> - 2018-03-06 11:02:20
|
On 6 Mar 2018, at 0:53, Anthony Tuininga wrote:
> What is cx_Oracle?
>
> cx_Oracle is a Python extension module that enables access to Oracle
> Database for Python 3.x and 2.x and conforms to the Python database
> API 2.0
> specifications with a number of enhancements.
I get an error when upgrading:
```
pip install --upgrade cx_Oracle
Collecting cx_Oracle
Downloading cx_Oracle-6.2.tar.gz (237kB)
100%
|████████████████████████████████|
245kB 2.5MB/s
Installing collected packages: cx-Oracle
Found existing installation: cx-Oracle 6.1
Uninstalling cx-Oracle-6.1:
Successfully uninstalled cx-Oracle-6.1
Running setup.py install for cx-Oracle ... error
Complete output from command
/Users/walter/pyvenvs/default/bin/python3.6 -u -c "import setuptools,
tokenize;__file__='/private/var/folders/hg/5rsj4705065b3cyxdftzd48w0000gn/T/pip-build-ovkqpskf/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
/var/folders/hg/5rsj4705065b3cyxdftzd48w0000gn/T/pip-a0f8egs7-record/install-record.txt
--single-version-externally-managed --compile --install-headers
/Users/walter/pyvenvs/default/include/site/python3.6/cx-Oracle:
running install
running build
running build_ext
building 'cx_Oracle' extension
creating build
creating build/temp.macosx-10.13-x86_64-3.6
creating build/temp.macosx-10.13-x86_64-3.6/src
creating build/temp.macosx-10.13-x86_64-3.6/odpi
creating build/temp.macosx-10.13-x86_64-3.6/odpi/src
clang -Wno-unused-result -Wsign-compare -Wunreachable-code
-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-arch x86_64 -DCXO_BUILD_VERSION=6.2 -Iodpi/include -Iodpi/src
-I/usr/local/include -I/usr/local/opt/openssl/include
-I/usr/local/opt/sqlite/include -I/Users/walter/pyvenvs/default/include
-I/usr/local/Cellar/python/3.6.4_3/Frameworks/Python.framework/Versions/3.6/include/python3.6m
-c src/cxoBuffer.c -o build/temp.macosx-10.13-x86_64-3.6/src/cxoBuffer.o
src/cxoBuffer.c:17:10: fatal error: 'cxoModule.h' file not found
#include "cxoModule.h"
^~~~~~~~~~~~~
1 error generated.
error: command 'clang' failed with exit status 1
----------------------------------------
Rolling back uninstall of cx-Oracle
Command "/Users/walter/pyvenvs/default/bin/python3.6 -u -c "import
setuptools,
tokenize;__file__='/private/var/folders/hg/5rsj4705065b3cyxdftzd48w0000gn/T/pip-build-ovkqpskf/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
/var/folders/hg/5rsj4705065b3cyxdftzd48w0000gn/T/pip-a0f8egs7-record/install-record.txt
--single-version-externally-managed --compile --install-headers
/Users/walter/pyvenvs/default/include/site/python3.6/cx-Oracle" failed
with error code 1 in
/private/var/folders/hg/5rsj4705065b3cyxdftzd48w0000gn/T/pip-build-ovkqpskf/cx-Oracle/
```
> […]
Servus,
Walter
|