Re: cx_Oracle 6.2
Anthony Tuininga <[email protected]> Tue, 6 Mar 2018 10:19:06 -0700
| Newsgroups | gmane.comp.python.db.cx-oracle |
|---|---|
| Message-ID | <CAE1XR-5YhbNkC1vzB7Ui4ohPh-F5tdfh3BgRYf521COpUNqkMg@mail.gmail.com> |
--===============7099182621954984303== Content-Type: multipart/alternative; boundary="001a11424b1cd2782c0566c1a35a" --001a11424b1cd2782c0566c1a35a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=C3=B6rwald <[email protected]> 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% |=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88= =E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2= =96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96= =88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88= | 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/python= 3.6 -u -c "import setuptools, tokenize;__file__=3D'/private/var/folders/hg/= 5rsj4705065b3cyxdftzd48w0000gn/T/pip-build-ovkqpskf/cx-Oracle/setup.py';f= =3Dgetattr(tokenize, 'open', open)(__file__);code=3Df.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-commo= n -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch x86_64 -= DCXO_BUILD_VERSION=3D6.2 -Iodpi/include -Iodpi/src -I/usr/local/include -I/= usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/Users/walt= er/pyvenvs/default/include -I/usr/local/Cellar/python/3.6.4_3/Frameworks/Py= thon.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 setupt= ools, tokenize;__file__=3D'/private/var/folders/hg/5rsj4705065b3cyxdftzd48w= 0000gn/T/pip-build-ovkqpskf/cx-Oracle/setup.py';f=3Dgetattr(tokenize, 'open= ', open)(__file__);code=3Df.read().replace('\r\n', '\n');f.close();exec(com= pile(code, __file__, 'exec'))" install --record /var/folders/hg/5rsj4705065= b3cyxdftzd48w0000gn/T/pip-a0f8egs7-record/install-record.txt --single-versi= on-externally-managed --compile --install-headers /Users/walter/pyvenvs/def= ault/include/site/python3.6/cx-Oracle" failed with error code 1 in /private= /var/folders/hg/5rsj4705065b3cyxdftzd48w0000gn/T/pip-build-ovkqpskf/cx-Orac= le/ > > [=E2=80=A6] > > 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-oracle-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > > --001a11424b1cd2782c0566c1a35a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi Walter,<div><br></div><div>This error is due to the fac= t 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 pa= ckage so this should be corrected now. Apologies for the inconvenience!</di= v><div><br></div><div>Anthony</div></div><div class=3D"gmail_extra"><br><di= v class=3D"gmail_quote">On Tue, Mar 6, 2018 at 4:02 AM, Walter D=C3=B6rwald= <span dir=3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_= blank">[email protected]</a>></span> wrote:<br><blockquote class=3D"= gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-= left:1ex"><u></u> <div> <div style=3D"font-family:sans-serif"><span class=3D""><div style=3D"white-= space:normal"> <p dir=3D"auto">On 6 Mar 2018, at 0:53, Anthony Tuininga wrote:</p> </div> <div style=3D"white-space:normal"><blockquote style=3D"border-left:2px soli= d #777;color:#777;margin:0 0 5px;padding-left:5px"><p dir=3D"auto">What is = cx_Oracle?<br> <br> cx_Oracle is a Python extension module that enables access to Oracle<br> Database for Python 3.x and 2.x and conforms to the Python database API 2.0= <br> specifications with a number of enhancements.</p> </blockquote></div> </span><div style=3D"white-space:normal"> <p dir=3D"auto">I get an error when upgrading:</p> <pre style=3D"background-color:#f7f7f7;border-radius:5px 5px 5px 5px;margin= -left:15px;margin-right:15px;max-width:90vw;overflow-x:auto;padding:5px" bg= color=3D"#F7F7F7"><code style=3D"background-color:#f7f7f7;border-radius:3px= ;margin:0;padding:0" bgcolor=3D"#F7F7F7">pip install --upgrade cx_Oracle Collecting cx_Oracle Downloading cx_Oracle-6.2.tar.gz (237kB) 100% |=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88= =E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2= =96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96= =88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88<wbr>=E2=96=88=E2=96=88=E2= =96=88| 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/<wbr>bin/pyt= hon3.6 -u -c "import setuptools, tokenize;__file__=3D'/private/<wb= r>var/folders/hg/<wbr>5rsj4705065b3cyxdftzd48w0000gn<wbr>/T/pip-build-ovkqp= skf/cx-<wbr>Oracle/setup.py';f=3Dgetattr(<wbr>tokenize, 'open',= open)(__file__);code=3Df.read().<wbr>replace('\r\n', '\n')= ;f.close();exec(compile(<wbr>code, __file__, 'exec'))" install= --record /var/folders/hg/<wbr>5rsj4705065b3cyxdftzd48w0000gn<wbr>/T/pip-a0= f8egs7-record/<wbr>install-record.txt --single-version-externally-<wbr>mana= ged --compile --install-headers /Users/walter/pyvenvs/default/<wbr>include/= site/python3.6/cx-<wbr>Oracle: running install running build running build_ext building 'cx_Oracle' extension creating build creating build/temp.macosx-10.13-x86_<wbr>64-3.6 creating build/temp.macosx-10.13-x86_<wbr>64-3.6/src creating build/temp.macosx-10.13-x86_<wbr>64-3.6/odpi creating build/temp.macosx-10.13-x86_<wbr>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 -DC= XO_BUILD_VERSION=3D6.2 -Iodpi/include -Iodpi/src -I/usr/local/include -I/us= r/local/opt/openssl/<wbr>include -I/usr/local/opt/sqlite/<wbr>include -I/Us= ers/walter/pyvenvs/<wbr>default/include -I/usr/local/Cellar/python/3.<wbr>6= .4_3/Frameworks/Python.<wbr>framework/Versions/3.6/<wbr>include/python3.6m = -c src/cxoBuffer.c -o build/temp.macosx-10.13-x86_<wbr>64-3.6/src/cxoBuffer= .o src/cxoBuffer.c:17:10: fatal error: 'cxoModule.h' file not foun= d #include "cxoModule.h" ^~~~~~~~~~~~~ 1 error generated. error: command 'clang' failed with exit status 1 ------------------------------<wbr>---------- Rolling back uninstall of cx-Oracle Command "/Users/walter/pyvenvs/<wbr>default/bin/python3.6 -u -c "= import setuptools, tokenize;__file__=3D'/private/<wbr>var/folders/hg/<w= br>5rsj4705065b3cyxdftzd48w0000gn<wbr>/T/pip-build-ovkqpskf/cx-<wbr>Oracle/= setup.py';f=3Dgetattr(<wbr>tokenize, 'open', open)(__file__);co= de=3Df.read().<wbr>replace('\r\n', '\n');f.close();exec(com= pile(<wbr>code, __file__, 'exec'))" install --record /var/fold= ers/hg/<wbr>5rsj4705065b3cyxdftzd48w0000gn<wbr>/T/pip-a0f8egs7-record/<wbr>= install-record.txt --single-version-externally-<wbr>managed --compile --ins= tall-headers /Users/walter/pyvenvs/default/<wbr>include/site/python3.6/cx-<= wbr>Oracle" failed with error code 1 in /private/var/folders/hg/<wbr>5= rsj4705065b3cyxdftzd48w0000gn<wbr>/T/pip-build-ovkqpskf/cx-<wbr>Oracle/ </code></pre> </div> <div style=3D"white-space:normal"><blockquote style=3D"border-left:2px soli= d #777;color:#777;margin:0 0 5px;padding-left:5px"><p dir=3D"auto">[=E2=80= =A6]</p> </blockquote></div> <div style=3D"white-space:normal"> <p dir=3D"auto">Servus,<br> Walter</p> </div> </div> </div> <br>------------------------------<wbr>------------------------------<wbr>-= -----------------<br> Check out the vibrant tech community on one of the world's most<br> engaging tech sites, Slashdot.org! <a href=3D"http://sdm.link/slashdot" rel= =3D"noreferrer" target=3D"_blank">http://sdm.link/slashdot</a><br>_________= _____________________<wbr>_________________<br> cx-oracle-users mailing list<br> <a href=3D"mailto:cx-oracle-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org">cx-oracle-users@li= sts.<wbr>sourceforge.net</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/cx-oracle-users" re= l=3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net/<wbr>lists= /listinfo/cx-oracle-users</a><br> <br></blockquote></div><br></div> --001a11424b1cd2782c0566c1a35a-- --===============7099182621954984303== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot --===============7099182621954984303== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ cx-oracle-users mailing list cx-oracle-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/cx-oracle-users --===============7099182621954984303==--