Re: cx_Oracle 6.2
"Walter Dörwald" <[email protected]> Tue, 06 Mar 2018 12:02:06 +0100
| Newsgroups | gmane.comp.python.db.cx-oracle |
|---|---|
| Message-ID | <[email protected]> |
--===============0853829992915165197==
Content-Type: multipart/alternative;
boundary="=_MailMate_11952D09-702D-4A95-A7E7-D000F41A72A7_="
--=_MailMate_11952D09-702D-4A95-A7E7-D000F41A72A7_=
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
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/python3.6 -u -c "import setuptools, =
tokenize;__file__=3D'/private/var/folders/hg/5rsj4705065b3cyxdftzd48w0000=
gn/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/inst=
all-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=3D6.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=
=2E6/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__=3D'/private/var/folders/hg/5rsj4705065b3cyxdftzd48w0000=
gn/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/inst=
all-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-ovkqps=
kf/cx-Oracle/
```
> [=E2=80=A6]
Servus,
Walter
--=_MailMate_11952D09-702D-4A95-A7E7-D000F41A72A7_=
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/xhtml; charset=3Dutf-8"=
>
</head>
<body>
<div style=3D"font-family:sans-serif"><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 so=
lid #777; color:#777; margin:0 0 5px; padding-left:5px"><p dir=3D"auto">W=
hat 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=
=2E0<br>
specifications with a number of enhancements.</p>
</blockquote></div>
<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; ma=
rgin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; paddi=
ng:5px" bgcolor=3D"#F7F7F7"><code style=3D"background-color:#F7F7F7; bord=
er-radius:3px; margin:0; padding:0" bgcolor=3D"#F7F7F7">pip install --upg=
rade 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/h=
g/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 --re=
cord /var/folders/hg/5rsj4705065b3cyxdftzd48w0000gn/T/pip-a0f8egs7-record=
/install-record.txt --single-version-externally-managed --compile --insta=
ll-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/User=
s/walter/pyvenvs/default/include -I/usr/local/Cellar/python/3.6.4_3/Frame=
works/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 setupt=
ools, tokenize;__file__=3D'/private/var/folders/hg/5rsj4705065b3cyxdftzd4=
8w0000gn/T/pip-build-ovkqpskf/cx-Oracle/setup.py';f=3Dgetattr(tokenize, '=
open', open)(__file__);code=3Df.read().replace('\r\n', '\n');f.close();ex=
ec(compile(code, __file__, 'exec'))" install --record /var/folders/hg/5rs=
j4705065b3cyxdftzd48w0000gn/T/pip-a0f8egs7-record/install-record.txt --si=
ngle-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/
</code></pre>
</div>
<div style=3D"white-space:normal"><blockquote style=3D"border-left:2px so=
lid #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>
</body>
</html>
--=_MailMate_11952D09-702D-4A95-A7E7-D000F41A72A7_=--
--===============0853829992915165197==
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
--===============0853829992915165197==
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
--===============0853829992915165197==--