Re: [cx-oracle-users] cx_Oracle 6.2
Brought to you by:
atuining
From: Anthony T. <ant...@gm...> - 2018-03-06 17:19:15
|
Hi Walter, This error is due to the fact that cxoModule.h is a file with a new extension so it wasn't covered by MANIFEST.in. I have corrected that and also uploaded a revised source package so this should be corrected now. Apologies for the inconvenience! Anthony On Tue, Mar 6, 2018 at 4:02 AM, Walter Dörwald <wa...@li...> wrote: > 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 > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > > |