Re: Using cx_Oracle 6.0rc1 on Windows
Anthony Tuininga <[email protected]> Tue, 4 Jul 2017 08:35:01 -0600
| Newsgroups | gmane.comp.python.db.cx-oracle |
|---|---|
| Message-ID | <CAE1XR-78qmO5K7_Uw77ESV=v+BZvGVK5fhjFDQdpBMRL7k5iFw@mail.gmail.com> |
--===============1810394095970301594== Content-Type: multipart/alternative; boundary="94eb2c03e35aeb97a305537ec90c" --94eb2c03e35aeb97a305537ec90c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Jul 4, 2017 at 3:18 AM, Walter D=C3=B6rwald <[email protected]> wrote: > On 3 Jul 2017, at 15:59, Anthony Tuininga wrote: > > Hi Walter, >> >> DPI_DEBUG_LEVEL=3D7 causes a bunch of output that tells me which public >> ODPI-C functions are being called. The fact that you are not getting any >> at >> all suggests something is going wrong even before cx_Oracle code is >> involved. Can you try a few more things? >> >> 1) Use python -v so you can see if the error is occurring prior to the >> actual import of cx_Oracle (it may not help but it might, too) >> > > Here is the output of importing cx_Oracle in a verbose Python session: > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > import cx_Oracle >>>> >>> # c:\programme\python36\lib\__pycache__\datetime.cpython-36.pyc matches > c:\programme\python36\lib\datetime.py > # code object from 'c:\\programme\\python36\\lib\ > \__pycache__\\datetime.cpython-36.pyc' > import 'time' # <class '_frozen_importlib.BuiltinImporter'> > import 'math' # <class '_frozen_importlib.BuiltinImporter'> > import '_datetime' # <class '_frozen_importlib.BuiltinImporter'> > import 'datetime' # <_frozen_importlib_external.SourceFileLoader object > at 0x000002C295D11550> > # c:\programme\python36\lib\__pycache__\decimal.cpython-36.pyc matches > c:\programme\python36\lib\decimal.py > # code object from 'c:\\programme\\python36\\lib\ > \__pycache__\\decimal.cpython-36.pyc' > # c:\programme\python36\lib\__pycache__\numbers.cpython-36.pyc matches > c:\programme\python36\lib\numbers.py > # code object from 'c:\\programme\\python36\\lib\ > \__pycache__\\numbers.cpython-36.pyc' > import 'numbers' # <_frozen_importlib_external.SourceFileLoader object at > 0x000002C295E40748> > # c:\programme\python36\lib\collections\__pycache__\__init__.cpython-36.p= yc > matches c:\programme\python36\lib\collections\__init__.py > # code object from 'c:\\programme\\python36\\lib\ > \collections\\__pycache__\\__init__.cpython-36.pyc' > # c:\programme\python36\lib\__pycache__\operator.cpython-36.pyc matches > c:\programme\python36\lib\operator.py > # code object from 'c:\\programme\\python36\\lib\ > \__pycache__\\operator.cpython-36.pyc' > import '_operator' # <class '_frozen_importlib.BuiltinImporter'> > import 'operator' # <_frozen_importlib_external.SourceFileLoader object > at 0x000002C295E58EF0> > # c:\programme\python36\lib\__pycache__\keyword.cpython-36.pyc matches > c:\programme\python36\lib\keyword.py > # code object from 'c:\\programme\\python36\\lib\ > \__pycache__\\keyword.cpython-36.pyc' > import 'keyword' # <_frozen_importlib_external.SourceFileLoader object at > 0x000002C295E67240> > # c:\programme\python36\lib\__pycache__\heapq.cpython-36.pyc matches > c:\programme\python36\lib\heapq.py > # code object from 'c:\\programme\\python36\\lib\ > \__pycache__\\heapq.cpython-36.pyc' > import '_heapq' # <class '_frozen_importlib.BuiltinImporter'> > import 'heapq' # <_frozen_importlib_external.SourceFileLoader object at > 0x000002C295E67A58> > import 'itertools' # <class '_frozen_importlib.BuiltinImporter'> > # c:\programme\python36\lib\__pycache__\reprlib.cpython-36.pyc matches > c:\programme\python36\lib\reprlib.py > # code object from 'c:\\programme\\python36\\lib\ > \__pycache__\\reprlib.cpython-36.pyc' > import 'reprlib' # <_frozen_importlib_external.SourceFileLoader object at > 0x000002C295E67FD0> > import '_collections' # <class '_frozen_importlib.BuiltinImporter'> > import 'collections' # <_frozen_importlib_external.SourceFileLoader > object at 0x000002C295E30828> > # extension module '_decimal' loaded from 'c:\\programme\\python36\\DLLs > \\_decimal.pyd' > # extension module '_decimal' executed from 'c:\\programme\\python36\\DLL= s > \\_decimal.pyd' > import '_decimal' # <_frozen_importlib_external.ExtensionFileLoader > object at 0x000002C295D117F0> > import 'decimal' # <_frozen_importlib_external.SourceFileLoader object at > 0x000002C295D116A0> > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "<frozen importlib._bootstrap>", line 961, in _find_and_load > File "<frozen importlib._bootstrap>", line 950, in > _find_and_load_unlocked > File "<frozen importlib._bootstrap>", line 648, in _load_unlocked > File "<frozen importlib._bootstrap>", line 560, in module_from_spec > File "<frozen importlib._bootstrap_external>", line 922, in > create_module > File "<frozen importlib._bootstrap>", line 205, in > _call_with_frames_removed > UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe4 in position 66: > invalid continuation byte > >> >>>> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Looks like it may have started running code in the module as the first thing it does is imports the datetime and decimal modules. If you're able to add some printf() statements at key positions in the Module_Initialize() function in src/cx_Oracle.c that would be helpful. In particular, at the very beginning (to confirm that it is running), after the imports, after the PyModule_Create() call, just prior to the dpiContext_create() call, just after it, and just at the end. I wish I could replicate this myself! > > > 2) Try without the use of venv and make sure that cx_Oracle.pyd is outsid= e >> of an "egg" -- in other words, as bare bones as possible; something in >> that >> setup could be conflicting and if so, we can narrow down the problem a b= it >> bit further >> > > OK, we've tried without venv (so we have to run the installation as admin= ). > To get rid of the egg stuff we replaced the following code in setup.py: > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > try: > from setuptools import setup, Extension > except: > from distutils.core import setup > from distutils.extension import Extension > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > with: > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > from distutils.core import setup > from distutils.extension import Extension > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > Here is the compile/import output: > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > Microsoft Windows [Version 10.0.15063] > (c) 2017 Microsoft Corporation. Alle Rechte vorbehalten. > > C:\>cd C:\Program Files (x86)\Microsoft Visual > Studio\2017\Community\VC\Auxiliary\Build > > C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliar= y\Build>vcvarsall.bat > x86_amd64 > ********************************************************************** > ** Visual Studio 2017 Developer Command Prompt v15.0.26430.13 > ** Copyright (c) 2017 Microsoft Corporation > ********************************************************************** > [ERROR:typescript.bat] TypeScript was not added to PATH since a valid > installation was not found > [ERROR:VsDevCmd.bat] *** VsDevCmd.bat encountered errors. Environment may > be incomplete and/or incorrect. *** > > C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliar= y\Build>cd > \ > > C:\>cd checkouts > > C:\checkouts>cd python-cx_Oracle > > C:\checkouts\python-cx_Oracle>\programme\python36\python setup.py build > running build > running build_ext > building 'cx_Oracle' extension > creating build > creating build\temp.win-amd64-3.6 > creating build\temp.win-amd64-3.6\Release > creating build\temp.win-amd64-3.6\Release\src > C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools > \MSVC\14.10.25017\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG > /MD -DDPI_DEBUG_LEVEL=3D7 -Iodpi/include -Iodpi/src > -IC:\programme\python36\include -IC:\programme\python36\include > "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools > \MSVC\14.10.25017\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft > Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\include" > "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\ucrt" > "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\shared" > "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\um" > "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\winrt" > /Tcsrc/cx_Oracle.c /Fobuild\temp.win-amd64-3.6\Release\src/cx_Oracle.obj > -DBUILD_VERSION=3D6.0rc1 > cx_Oracle.c > c:\checkouts\python-cx_oracle\src\Connection.c(851): warning C4311: > "Typumwandlung": Zeigerverk=C3=BCrzung von "void *" zu "long" > creating C:\checkouts\python-cx_Oracle\build\lib.win-amd64-3.6 > C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools > \MSVC\14.10.25017\bin\HostX86\x64\link.exe /nologo /INCREMENTAL:NO /LTCG > /DLL /MANIFEST:EMBED,ID=3D2 /MANIFESTUAC:NO /LIBPATH:C:\programme\python3= 6\libs > /LIBPATH:C:\programme\python36\PCbuild\amd64 "/LIBPATH:C:\Program Files > (x86)\Microsoft Visual Studio\2017\Community\VC\Tools > \MSVC\14.10.25017\ATLMFC\lib\x64" "/LIBPATH:C:\Program Files > (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\li= b\x64" > "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.15063.0\ucrt\x6= 4" > "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.15063.0\um\x64" > /EXPORT:PyInit_cx_Oracle build\temp.win-amd64-3.6\Release\src/cx_Oracle.o= bj > /OUT:build\lib.win-amd64-3.6\cx_Oracle.cp36-win_amd64.pyd > /IMPLIB:build\temp.win-amd64-3.6\Release\src\cx_Oracle.cp36-win_amd64.lib > cx_Oracle.obj : warning LNK4197: Export "PyInit_cx_Oracle" wurde mehrmals > angegeben; erste Angabe wird verwendet. > Bibliothek "build\temp.win-amd64-3.6\Release\src\cx_Oracle.cp36-win_am= d64.lib" > und Objekt "build\temp.win-amd64-3.6\Release\src\cx_Oracle.cp36-win_amd64= .exp" > werden erstellt. > Code wird generiert. > Codegenerierung ist abgeschlossen. > > C:\checkouts\python-cx_Oracle>\programme\python36\python setup.py install > running install > running build > running build_ext > running install_lib > copying build\lib.win-amd64-3.6\cx_Oracle.cp36-win_amd64.pyd -> > C:\programme\python36\Lib\site-packages > running install_data > copying LICENSE.txt -> C:\programme\python36\cx_Oracle-doc > copying README.txt -> C:\programme\python36\cx_Oracle-doc > copying samples\AdvancedQueuing.py -> C:\programme\python36\cx_Oracl > e-doc\samples > copying samples\AppContext.py -> C:\programme\python36\cx_Oracl > e-doc\samples > copying samples\DatabaseChangeNotification.py -> > C:\programme\python36\cx_Oracle-doc\samples > copying samples\DatabaseShutdown.py -> C:\programme\python36\cx_Oracl > e-doc\samples > copying samples\DatabaseStartup.py -> C:\programme\python36\cx_Oracl > e-doc\samples > copying samples\DMLReturningMultipleRows.py -> > C:\programme\python36\cx_Oracle-doc\samples > copying samples\DRCP.py -> C:\programme\python36\cx_Oracle-doc\samples > copying samples\Editioning.py -> C:\programme\python36\cx_Oracl > e-doc\samples > copying samples\ImplicitResults.py -> C:\programme\python36\cx_Oracl > e-doc\samples > copying samples\InsertGeometry.py -> C:\programme\python36\cx_Oracl > e-doc\samples > copying samples\QueryChangeNotification.py -> > C:\programme\python36\cx_Oracle-doc\samples > copying samples\ReturnLongs.py -> C:\programme\python36\cx_Oracl > e-doc\samples > copying samples\ReturnNumbersAsDecimals.py -> > C:\programme\python36\cx_Oracle-doc\samples > copying samples\ReturnUnicode.py -> C:\programme\python36\cx_Oracl > e-doc\samples > copying samples\RowsAsInstance.py -> C:\programme\python36\cx_Oracl > e-doc\samples > copying samples\ScrollableCursors.py -> C:\programme\python36\cx_Oracl > e-doc\samples > copying samples\Threads.py -> C:\programme\python36\cx_Oracle-doc\samples > copying samples\TransactionGuard.py -> C:\programme\python36\cx_Oracl > e-doc\samples > copying samples\TypeHandlers.py -> C:\programme\python36\cx_Oracl > e-doc\samples > copying samples\UniversalRowids.py -> C:\programme\python36\cx_Oracl > e-doc\samples > copying test\BooleanVar.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\Connection.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\Cursor.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\CursorVar.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\DateTimeVar.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\DMLReturning.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\DropTest.sql -> C:\programme\python36\cx_Oracle-doc\test > copying test\Error.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\Features12_1.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\IntervalVar.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\LobVar.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\LongVar.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\NCharVar.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\NumberVar.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\ObjectVar.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\SessionPool.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\SetupTest.sql -> C:\programme\python36\cx_Oracle-doc\test > copying test\StringVar.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\test.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\TestEnv.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\test_dbapi20.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\TimestampVar.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\uConnection.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\uCursor.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\uCursorVar.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\uDateTimeVar.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\uFeatures12_1.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\uIntervalVar.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\uLobVar.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\uLongVar.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\uNumberVar.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\uObjectVar.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\uSessionPool.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\uStringVar.py -> C:\programme\python36\cx_Oracle-doc\test > copying test\uTimestampVar.py -> C:\programme\python36\cx_Oracle-doc\test > running install_egg_info > Writing C:\programme\python36\Lib\site-packages\cx_Oracle-6.0rc1- > py3.6.egg-info > > C:\checkouts\python-cx_Oracle>\programme\python36\python -v > import _frozen_importlib # frozen > import _imp # builtin > import sys # builtin > import '_warnings' # <class '_frozen_importlib.BuiltinImporter'> > import '_thread' # <class '_frozen_importlib.BuiltinImporter'> > import '_weakref' # <class '_frozen_importlib.BuiltinImporter'> > import '_frozen_importlib_external' # <class '_frozen_importlib.FrozenImp= or > ter'> > import '_io' # <class '_frozen_importlib.BuiltinImporter'> > import 'marshal' # <class '_frozen_importlib.BuiltinImporter'> > import 'nt' # <class '_frozen_importlib.BuiltinImporter'> > import _thread # previously loaded ('_thread') > import '_thread' # <class '_frozen_importlib.BuiltinImporter'> > import _weakref # previously loaded ('_weakref') > import '_weakref' # <class '_frozen_importlib.BuiltinImporter'> > import 'winreg' # <class '_frozen_importlib.BuiltinImporter'> > # installing zipimport hook > import 'zipimport' # <class '_frozen_importlib.BuiltinImporter'> > # installed zipimport hook > # C:\programme\python36\lib\encodings\__pycache__\__init__.cpython-36.pyc > matches C:\programme\python36\lib\encodings\__init__.py > # code object from 'C:\\programme\\python36\\lib\ > \encodings\\__pycache__\\__init__.cpython-36.pyc' > # C:\programme\python36\lib\__pycache__\codecs.cpython-36.pyc matches > C:\programme\python36\lib\codecs.py > # code object from 'C:\\programme\\python36\\lib\ > \__pycache__\\codecs.cpython-36.pyc' > import '_codecs' # <class '_frozen_importlib.BuiltinImporter'> > import 'codecs' # <_frozen_importlib_external.SourceFileLoader object at > 0x00000251FAE8BA58> > # C:\programme\python36\lib\encodings\__pycache__\aliases.cpython-36.pyc > matches C:\programme\python36\lib\encodings\aliases.py > # code object from 'C:\\programme\\python36\\lib\ > \encodings\\__pycache__\\aliases.cpython-36.pyc' > import 'encodings.aliases' # <_frozen_importlib_external.SourceFileLoader > object at 0x00000251FAEA46A0> > import 'encodings' # <_frozen_importlib_external.SourceFileLoader object > at 0x00000251FAE8B160> > # C:\programme\python36\lib\encodings\__pycache__\utf_8.cpython-36.pyc > matches C:\programme\python36\lib\encodings\utf_8.py > # code object from 'C:\\programme\\python36\\lib\ > \encodings\\__pycache__\\utf_8.cpython-36.pyc' > import 'encodings.utf_8' # <_frozen_importlib_external.SourceFileLoader > object at 0x00000251FAEB7710> > import '_signal' # <class '_frozen_importlib.BuiltinImporter'> > # C:\programme\python36\lib\encodings\__pycache__\latin_1.cpython-36.pyc > matches C:\programme\python36\lib\encodings\latin_1.py > # code object from 'C:\\programme\\python36\\lib\ > \encodings\\__pycache__\\latin_1.cpython-36.pyc' > import 'encodings.latin_1' # <_frozen_importlib_external.SourceFileLoader > object at 0x00000251FAEB7B70> > # C:\programme\python36\lib\__pycache__\io.cpython-36.pyc matches > C:\programme\python36\lib\io.py > # code object from 'C:\\programme\\python36\\lib\\__pycache__\\ > io.cpython-36.pyc' > # C:\programme\python36\lib\__pycache__\abc.cpython-36.pyc matches > C:\programme\python36\lib\abc.py > # code object from 'C:\\programme\\python36\\lib\ > \__pycache__\\abc.cpython-36.pyc' > # C:\programme\python36\lib\__pycache__\_weakrefset.cpython-36.pyc > matches C:\programme\python36\lib\_weakrefset.py > # code object from 'C:\\programme\\python36\\lib\ > \__pycache__\\_weakrefset.cpython-36.pyc' > import '_weakrefset' # <_frozen_importlib_external.SourceFileLoader > object at 0x00000251FAEBCA58> > import 'abc' # <_frozen_importlib_external.SourceFileLoader object at > 0x00000251FAEBC128> > import 'io' # <_frozen_importlib_external.SourceFileLoader object at > 0x00000251FAEB7D30> > # C:\programme\python36\lib\__pycache__\site.cpython-36.pyc matches > C:\programme\python36\lib\site.py > # code object from 'C:\\programme\\python36\\lib\ > \__pycache__\\site.cpython-36.pyc' > # C:\programme\python36\lib\__pycache__\os.cpython-36.pyc matches > C:\programme\python36\lib\os.py > # code object from 'C:\\programme\\python36\\lib\\__pycache__\\ > os.cpython-36.pyc' > import 'errno' # <class '_frozen_importlib.BuiltinImporter'> > # C:\programme\python36\lib\__pycache__\stat.cpython-36.pyc matches > C:\programme\python36\lib\stat.py > # code object from 'C:\\programme\\python36\\lib\ > \__pycache__\\stat.cpython-36.pyc' > import '_stat' # <class '_frozen_importlib.BuiltinImporter'> > import 'stat' # <_frozen_importlib_external.SourceFileLoader object at > 0x00000251FAEE76A0> > # C:\programme\python36\lib\__pycache__\ntpath.cpython-36.pyc matches > C:\programme\python36\lib\ntpath.py > # code object from 'C:\\programme\\python36\\lib\ > \__pycache__\\ntpath.cpython-36.pyc' > # C:\programme\python36\lib\__pycache__\genericpath.cpython-36.pyc > matches C:\programme\python36\lib\genericpath.py > # code object from 'C:\\programme\\python36\\lib\ > \__pycache__\\genericpath.cpython-36.pyc' > import 'genericpath' # <_frozen_importlib_external.SourceFileLoader > object at 0x00000251FAEF15C0> > import 'ntpath' # <_frozen_importlib_external.SourceFileLoader object at > 0x00000251FAEE7D30> > # C:\programme\python36\lib\__pycache__\_collections_abc.cpython-36.pyc > matches C:\programme\python36\lib\_collections_abc.py > # code object from 'C:\\programme\\python36\\lib\ > \__pycache__\\_collections_abc.cpython-36.pyc' > import '_collections_abc' # <_frozen_importlib_external.SourceFileLoader > object at 0x00000251FAEF1B70> > import 'os' # <_frozen_importlib_external.SourceFileLoader object at > 0x00000251FAED4630> > # C:\programme\python36\lib\__pycache__\_sitebuiltins.cpython-36.pyc > matches C:\programme\python36\lib\_sitebuiltins.py > # code object from 'C:\\programme\\python36\\lib\ > \__pycache__\\_sitebuiltins.cpython-36.pyc' > import '_sitebuiltins' # <_frozen_importlib_external.SourceFileLoader > object at 0x00000251FAED4A20> > # C:\programme\python36\lib\__pycache__\sysconfig.cpython-36.pyc matches > C:\programme\python36\lib\sysconfig.py > # code object from 'C:\\programme\\python36\\lib\ > \__pycache__\\sysconfig.cpython-36.pyc' > import 'sysconfig' # <_frozen_importlib_external.SourceFileLoader object > at 0x00000251FAED4EB8> > # C:\programme\python36\lib\__pycache__\_bootlocale.cpython-36.pyc > matches C:\programme\python36\lib\_bootlocale.py > # code object from 'C:\\programme\\python36\\lib\ > \__pycache__\\_bootlocale.cpython-36.pyc' > import '_locale' # <class '_frozen_importlib.BuiltinImporter'> > import '_bootlocale' # <_frozen_importlib_external.SourceFileLoader > object at 0x00000251FCCAA2B0> > # C:\programme\python36\lib\encodings\__pycache__\cp1252.cpython-36.pyc > matches C:\programme\python36\lib\encodings\cp1252.py > # code object from 'C:\\programme\\python36\\lib\ > \encodings\\__pycache__\\cp1252.cpython-36.pyc' > import 'encodings.cp1252' # <_frozen_importlib_external.SourceFileLoader > object at 0x00000251FCCAA7B8> > import 'site' # <_frozen_importlib_external.SourceFileLoader object at > 0x00000251FAECD2E8> > Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 > bit (AMD64)] on win32 > Type "help", "copyright", "credits" or "license" for more information. > import 'atexit' # <class '_frozen_importlib.BuiltinImporter'> > >> import cx_Oracle >>>> >>> # C:\programme\python36\lib\__pycache__\datetime.cpython-36.pyc matches > C:\programme\python36\lib\datetime.py > # code object from 'C:\\programme\\python36\\lib\ > \__pycache__\\datetime.cpython-36.pyc' > import 'time' # <class '_frozen_importlib.BuiltinImporter'> > import 'math' # <class '_frozen_importlib.BuiltinImporter'> > import '_datetime' # <class '_frozen_importlib.BuiltinImporter'> > import 'datetime' # <_frozen_importlib_external.SourceFileLoader object > at 0x00000251FCCB35F8> > # C:\programme\python36\lib\__pycache__\decimal.cpython-36.pyc matches > C:\programme\python36\lib\decimal.py > # code object from 'C:\\programme\\python36\\lib\ > \__pycache__\\decimal.cpython-36.pyc' > # C:\programme\python36\lib\__pycache__\numbers.cpython-36.pyc matches > C:\programme\python36\lib\numbers.py > # code object from 'C:\\programme\\python36\\lib\ > \__pycache__\\numbers.cpython-36.pyc' > import 'numbers' # <_frozen_importlib_external.SourceFileLoader object at > 0x00000251FCDFC828> > # C:\programme\python36\lib\collections\__pycache__\__init__.cpython-36.p= yc > matches C:\programme\python36\lib\collections\__init__.py > # code object from 'C:\\programme\\python36\\lib\ > \collections\\__pycache__\\__init__.cpython-36.pyc' > # C:\programme\python36\lib\__pycache__\operator.cpython-36.pyc matches > C:\programme\python36\lib\operator.py > # code object from 'C:\\programme\\python36\\lib\ > \__pycache__\\operator.cpython-36.pyc' > import '_operator' # <class '_frozen_importlib.BuiltinImporter'> > import 'operator' # <_frozen_importlib_external.SourceFileLoader object > at 0x00000251FCE1BA90> > # C:\programme\python36\lib\__pycache__\keyword.cpython-36.pyc matches > C:\programme\python36\lib\keyword.py > # code object from 'C:\\programme\\python36\\lib\ > \__pycache__\\keyword.cpython-36.pyc' > import 'keyword' # <_frozen_importlib_external.SourceFileLoader object at > 0x00000251FCE34DA0> > # C:\programme\python36\lib\__pycache__\heapq.cpython-36.pyc matches > C:\programme\python36\lib\heapq.py > # code object from 'C:\\programme\\python36\\lib\ > \__pycache__\\heapq.cpython-36.pyc' > import '_heapq' # <class '_frozen_importlib.BuiltinImporter'> > import 'heapq' # <_frozen_importlib_external.SourceFileLoader object at > 0x00000251FCE3B5F8> > import 'itertools' # <class '_frozen_importlib.BuiltinImporter'> > # C:\programme\python36\lib\__pycache__\reprlib.cpython-36.pyc matches > C:\programme\python36\lib\reprlib.py > # code object from 'C:\\programme\\python36\\lib\ > \__pycache__\\reprlib.cpython-36.pyc' > import 'reprlib' # <_frozen_importlib_external.SourceFileLoader object at > 0x00000251FCE3BB70> > import '_collections' # <class '_frozen_importlib.BuiltinImporter'> > import 'collections' # <_frozen_importlib_external.SourceFileLoader > object at 0x00000251FCDEE1D0> > # extension module '_decimal' loaded from 'C:\\programme\\python36\\DLLs > \\_decimal.pyd' > # extension module '_decimal' executed from 'C:\\programme\\python36\\DLL= s > \\_decimal.pyd' > import '_decimal' # <_frozen_importlib_external.ExtensionFileLoader > object at 0x00000251FCCB38D0> > import 'decimal' # <_frozen_importlib_external.SourceFileLoader object at > 0x00000251FCCB3780> > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "<frozen importlib._bootstrap>", line 961, in _find_and_load > File "<frozen importlib._bootstrap>", line 950, in > _find_and_load_unlocked > File "<frozen importlib._bootstrap>", line 648, in _load_unlocked > File "<frozen importlib._bootstrap>", line 560, in module_from_spec > File "<frozen importlib._bootstrap_external>", line 922, in > create_module > File "<frozen importlib._bootstrap>", line 205, in > _call_with_frames_removed > UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe4 in position 66: > invalid continuation byte > >> >>>> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > I also note that you are using VS 2017. Another person noted that >> uninstalling VS 2017 and using an earlier version worked for him -- why >> that would be is an interesting question (!!?) but if you have a machine >> that doesn't have VS 2017 but an earlier version that would be worth >> testing, too. >> > > We currently don't have a Windows 10 machine without VS 2017, but we're > going to > uninstall VS 2017 on this machine and retry with and an older version. > > Also, IIRC this exception means that the VS Redistributables are missing > or are > installed incorrectly. > > However I don't know how we can check this. You can use this tool: http://www.dependencywalker.com/ which will tell you what dependencies the cx_Oracle.pyd file and all of their dependencies, too. Hopefully it helps. > > > Regarding the dbapi20 tests, it would appear that this is not well >> supported by the community. Go ahead and log an issue. I'll do some more >> investigation. Fixing the code you noted above to work with Python 3 is >> easy enough -- but it won't help much if the dbapi20.py module isn't >> available! >> >> Anthony >> > > 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 > --94eb2c03e35aeb97a305537ec90c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo= te">On Tue, Jul 4, 2017 at 3:18 AM, Walter D=C3=B6rwald <span dir=3D"ltr">&= lt;<a href=3D"mailto:[email protected]" target=3D"_blank">walter@living= logic.de</a>></span> wrote:<br><blockquote class=3D"gmail_quote" style= =3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding= -left:1ex"><span class=3D"gmail-">On 3 Jul 2017, at 15:59, Anthony Tuininga= wrote:<br> <br> <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-= left:1px solid rgb(204,204,204);padding-left:1ex"> Hi Walter,<br> <br> DPI_DEBUG_LEVEL=3D7 causes a bunch of output that tells me which public<br> ODPI-C functions are being called. The fact that you are not getting any at= <br> all suggests something is going wrong even before cx_Oracle code is<br> involved. Can you try a few more things?<br> <br> 1) Use python -v so you can see if the error is occurring prior to the<br> actual import of cx_Oracle (it may not help but it might, too)<br> </blockquote> <br></span> Here is the output of importing cx_Oracle in a verbose Python session:<br> <br> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D<wbr>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<wbr>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D<br> <br> <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-= left:1px solid rgb(204,204,204);padding-left:1ex"><blockquote class=3D"gmai= l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,20= 4,204);padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"margin:= 0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> import cx_Oracle<br> </blockquote></blockquote></blockquote> # c:\programme\python36\lib\__py<wbr>cache__\<a href=3D"http://datetime.cpy= thon-36.py">datetime.cpython-36.py</a><wbr>c matches c:\programme\python36\= lib\date<wbr>time.py<br> # code object from 'c:\\programme\\python36\\lib\<wbr>\__pycache__\\dat= etime.cpython<wbr>-36.pyc'<br> import 'time' # <class '_frozen_importlib.BuiltinImpo<wbr>rt= er'><br> import 'math' # <class '_frozen_importlib.BuiltinImpo<wbr>rt= er'><br> import '_datetime' # <class '_frozen_importlib.BuiltinImpo<w= br>rter'><br> import 'datetime' # <_frozen_importlib_external.So<wbr>urceFileL= oader object at 0x000002C295D11550><br> # c:\programme\python36\lib\__py<wbr>cache__\decimal.cpython-36.pyc matches= c:\programme\python36\lib\deci<wbr>mal.py<br> # code object from 'c:\\programme\\python36\\lib\<wbr>\__pycache__\\dec= imal.cpython-<wbr>36.pyc'<br> # c:\programme\python36\lib\__py<wbr>cache__\numbers.cpython-36.pyc matches= c:\programme\python36\lib\numb<wbr>ers.py<br> # code object from 'c:\\programme\\python36\\lib\<wbr>\__pycache__\\num= bers.cpython-<wbr>36.pyc'<br> import 'numbers' # <_frozen_importlib_external.So<wbr>urceFileLo= ader object at 0x000002C295E40748><br> # c:\programme\python36\lib\coll<wbr>ections\__pycache__\__init__.<wbr>cpyt= hon-36.pyc matches c:\programme\python36\lib\coll<wbr>ections\__init__.py<b= r> # code object from 'c:\\programme\\python36\\lib\<wbr>\collections\\__p= ycache__\\__i<wbr>nit__.cpython-36.pyc'<br> # c:\programme\python36\lib\__py<wbr>cache__\<a href=3D"http://operator.cpy= thon-36.py">operator.cpython-36.py</a><wbr>c matches c:\programme\python36\= lib\oper<wbr>ator.py<br> # code object from 'c:\\programme\\python36\\lib\<wbr>\__pycache__\\ope= rator.cpython<wbr>-36.pyc'<br> import '_operator' # <class '_frozen_importlib.BuiltinImpo<w= br>rter'><br> import 'operator' # <_frozen_importlib_external.So<wbr>urceFileL= oader object at 0x000002C295E58EF0><br> # c:\programme\python36\lib\__py<wbr>cache__\keyword.cpython-36.pyc matches= c:\programme\python36\lib\keyw<wbr>ord.py<br> # code object from 'c:\\programme\\python36\\lib\<wbr>\__pycache__\\key= word.cpython-<wbr>36.pyc'<br> import 'keyword' # <_frozen_importlib_external.So<wbr>urceFileLo= ader object at 0x000002C295E67240><br> # c:\programme\python36\lib\__py<wbr>cache__\heapq.cpython-36.pyc matches c= :\programme\python36\lib\heap<wbr>q.py<br> # code object from 'c:\\programme\\python36\\lib\<wbr>\__pycache__\\hea= pq.cpython-36<wbr>.pyc'<br> import '_heapq' # <class '_frozen_importlib.BuiltinImpo<wbr>= rter'><br> import 'heapq' # <_frozen_importlib_external.So<wbr>urceFileLoad= er object at 0x000002C295E67A58><br> import 'itertools' # <class '_frozen_importlib.BuiltinImpo<w= br>rter'><br> # c:\programme\python36\lib\__py<wbr>cache__\reprlib.cpython-36.pyc matches= c:\programme\python36\lib\repr<wbr>lib.py<br> # code object from 'c:\\programme\\python36\\lib\<wbr>\__pycache__\\rep= rlib.cpython-<wbr>36.pyc'<br> import 'reprlib' # <_frozen_importlib_external.So<wbr>urceFileLo= ader object at 0x000002C295E67FD0><br> import '_collections' # <class '_frozen_importlib.BuiltinImp= o<wbr>rter'><br> import 'collections' # <_frozen_importlib_external.So<wbr>urceFi= leLoader object at 0x000002C295E30828><br> # extension module '_decimal' loaded from 'c:\\programme\\pytho= n36\\DLLs<wbr>\\_decimal.pyd'<br> # extension module '_decimal' executed from 'c:\\programme\\pyt= hon36\\DLLs<wbr>\\_decimal.pyd'<br> import '_decimal' # <_frozen_importlib_external.Ex<wbr>tensionFi= leLoader object at 0x000002C295D117F0><br> import 'decimal' # <_frozen_importlib_external.So<wbr>urceFileLo= ader object at 0x000002C295D116A0><span class=3D"gmail-"><br> Traceback (most recent call last):<br> =C2=A0 File "<stdin>", line 1, in <module><br></span> =C2=A0 File "<frozen importlib._bootstrap>", line 961, in _= find_and_load<br> =C2=A0 File "<frozen importlib._bootstrap>", line 950, in _= find_and_load_unlocked<br> =C2=A0 File "<frozen importlib._bootstrap>", line 648, in _= load_unlocked<br> =C2=A0 File "<frozen importlib._bootstrap>", line 560, in m= odule_from_spec<br> =C2=A0 File "<frozen importlib._bootstrap_external><wbr>", = line 922, in create_module<br> =C2=A0 File "<frozen importlib._bootstrap>", line 205, in _= call_with_frames_removed<span class=3D"gmail-"><br> UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe4 in pos= ition 66: invalid continuation byte<br> <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-= left:1px solid rgb(204,204,204);padding-left:1ex"><blockquote class=3D"gmai= l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,20= 4,204);padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"margin:= 0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br> </blockquote></blockquote></blockquote> <br></span> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D<wbr>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<wbr>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D</blockquote><div><br></div><div><br></div><div>= Looks like it may have started running code in the module as the first thin= g it does is imports the datetime and decimal modules. If you're able t= o add some printf() statements at key positions in the Module_Initialize() = function in src/cx_Oracle.c that would be helpful. In particular, at the ve= ry beginning (to confirm that it is running), after the imports, after the = PyModule_Create() call, just prior to the dpiContext_create() call, just af= ter it, and just at the end. I wish I could replicate this myself!</div><di= v><br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"mar= gin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1= ex"><span class=3D"gmail-"><br> <br> <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-= left:1px solid rgb(204,204,204);padding-left:1ex"> 2) Try without the use of venv and make sure that cx_Oracle.pyd is outside<= br> of an "egg" -- in other words, as bare bones as possible; somethi= ng in that<br> setup could be conflicting and if so, we can narrow down the problem a bit<= br> bit further<br> </blockquote> <br></span> OK, we've tried without venv (so we have to run the installation as adm= in).<br> To get rid of the egg stuff we replaced the following code in setup.py:<br> <br> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D<wbr>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<wbr>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D<br> <br> try:<br> =C2=A0 =C2=A0 from setuptools import setup, Extension<br> except:<br> =C2=A0 =C2=A0 from distutils.core import setup<br> =C2=A0 =C2=A0 from distutils.extension import Extension<br> <br> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D<wbr>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<wbr>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D<br> <br> with:<br> <br> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D<wbr>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<wbr>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D<br> <br> =C2=A0 =C2=A0 from distutils.core import setup<br> =C2=A0 =C2=A0 from distutils.extension import Extension<br> <br> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D<wbr>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<wbr>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D<br> <br> Here is the compile/import output:<br> <br> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D<wbr>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<wbr>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D<br> <br> Microsoft Windows [Version 10.0.15063]<br> (c) 2017 Microsoft Corporation. Alle Rechte vorbehalten.<span class=3D"gmai= l-"><br> <br> C:\>cd C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\= Auxil<wbr>iary\Build<br> <br> C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxil<wbr>= iary\Build>vcvarsall.bat x86_amd64<br> ******************************<wbr>******************************<wbr>*****= *****<br> ** Visual Studio 2017 Developer Command Prompt v15.0.26430.13<br> ** Copyright (c) 2017 Microsoft Corporation<br> ******************************<wbr>******************************<wbr>*****= *****<br> [ERROR:typescript.bat] TypeScript was not added to PATH since a valid insta= llation was not found<br> [ERROR:VsDevCmd.bat] *** VsDevCmd.bat encountered errors. Environment may b= e incomplete and/or incorrect. ***<br> <br> C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxil<wbr>= iary\Build>cd \<br> <br> C:\>cd checkouts<br> <br></span> C:\checkouts>cd python-cx_Oracle<br> <br> C:\checkouts\python-cx_Oracle><wbr>\programme\python36\python setup.py b= uild<br> running build<span class=3D"gmail-"><br> running build_ext<br> building 'cx_Oracle' extension<br></span> creating build<br> creating build\temp.win-amd64-3.6<br> creating build\temp.win-amd64-3.6\Relea<wbr>se<br> creating build\temp.win-amd64-3.6\Relea<wbr>se\src<br> C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools<wbr>= \MSVC\14.10.25017\bin\HostX86\<wbr>x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEB= UG /MD -DDPI_DEBUG_LEVEL=3D7 -Iodpi/include -Iodpi/src -IC:\programme\pytho= n36\includ<wbr>e -IC:\programme\python36\includ<wbr>e "-IC:\Program Fi= les (x86)\Microsoft Visual Studio\2017\Community\VC\Tools<wbr>\MSVC\14.10.2= 5017\ATLMFC\inclu<wbr>de" "-IC:\Program Files (x86)\Microsoft Vis= ual Studio\2017\Community\VC\Tools<wbr>\MSVC\14.10.25017\include" &quo= t;-IC:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\u<wbr>crt&q= uot; "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\s<= wbr>hared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0= .15063.0\u<wbr>m" "-IC:\Program Files (x86)\Windows Kits\10\inclu= de\10.0.15063.0\w<wbr>inrt" /Tcsrc/cx_Oracle.c /Fobuild\temp.win-amd64= -3.6\Re<wbr>lease\src/cx_Oracle.obj -DBUILD_VERSION=3D6.0rc1<span class=3D"= gmail-"><br> cx_Oracle.c<br> c:\checkouts\python-cx_oracle\<wbr>src\Connection.c(851): warning C4311: &q= uot;Typumwandlung": Zeigerverk=C3=BCrzung von "void *" zu &q= uot;long"<br> creating C:\checkouts\python-cx_Oracle\<wbr>build\lib.win-amd64-3.6<br></sp= an> C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools<wbr>= \MSVC\14.10.25017\bin\HostX86\<wbr>x64\link.exe /nologo /INCREMENTAL:NO /LT= CG /DLL /MANIFEST:EMBED,ID=3D2 /MANIFESTUAC:NO /LIBPATH:C:\programme\python= 36<wbr>\libs /LIBPATH:C:\programme\python36<wbr>\PCbuild\amd64 "/LIBPA= TH:C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools<w= br>\MSVC\14.10.25017\ATLMFC\lib\<wbr>x64" "/LIBPATH:C:\Program Fi= les (x86)\Microsoft Visual Studio\2017\Community\VC\Tools<wbr>\MSVC\14.10.2= 5017\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\li= b\10.0.15063.0\ucrt\<wbr>x64" "/LIBPATH:C:\Program Files (x86)\Wi= ndows Kits\10\lib\10.0.15063.0\um\x6<wbr>4" /EXPORT:PyInit_cx_Oracle b= uild\temp.win-amd64-3.6\Relea<wbr>se\src/cx_Oracle.obj /OUT:build\lib.win-a= md64-3.6\c<wbr>x_Oracle.cp36-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3<w= br>.6\Release\src\cx_Oracle.cp36-<wbr>win_amd64.lib<span class=3D"gmail-"><= br> cx_Oracle.obj : warning LNK4197: Export "PyInit_cx_Oracle" wurde = mehrmals angegeben; erste Angabe wird verwendet.<br> =C2=A0 =C2=A0Bibliothek "build\temp.win-amd64-3.6\Rele<wbr>ase\src\cx_= Oracle.cp36-win_<wbr>amd64.lib" und Objekt "build\temp.win-amd64-= 3.6\Rele<wbr>ase\src\cx_Oracle.cp36-win_<wbr>amd64.exp" werden erstell= t.<br> Code wird generiert.<br> Codegenerierung ist abgeschlossen.<br> <br></span> C:\checkouts\python-cx_Oracle><wbr>\programme\python36\python setup.py i= nstall<br> running install<br> running build<br> running build_ext<br> running install_lib<br> copying build\lib.win-amd64-3.6\cx_Ora<wbr>cle.cp36-win_amd64.pyd -> C:\= programme\python36\Lib\site<wbr>-packages<br> running install_data<br> copying LICENSE.txt -> C:\programme\python36\cx_Oracl<wbr>e-doc<br> copying README.txt -> C:\programme\python36\cx_Oracl<wbr>e-doc<br> copying samples\AdvancedQueuing.py -> C:\programme\python36\cx_Oracl<wbr= >e-doc\samples<br> copying samples\AppContext.py -> C:\programme\python36\cx_Oracl<wbr>e-do= c\samples<br> copying samples\DatabaseChangeNotifica<wbr>tion.py -> C:\programme\pytho= n36\cx_Oracl<wbr>e-doc\samples<br> copying samples\DatabaseShutdown.py -> C:\programme\python36\cx_Oracl<wb= r>e-doc\samples<br> copying samples\DatabaseStartup.py -> C:\programme\python36\cx_Oracl<wbr= >e-doc\samples<br> copying samples\DMLReturningMultipleRo<wbr>ws.py -> C:\programme\python3= 6\cx_Oracl<wbr>e-doc\samples<br> copying samples\DRCP.py -> C:\programme\python36\cx_Oracl<wbr>e-doc\samp= les<br> copying samples\Editioning.py -> C:\programme\python36\cx_Oracl<wbr>e-do= c\samples<br> copying samples\ImplicitResults.py -> C:\programme\python36\cx_Oracl<wbr= >e-doc\samples<br> copying samples\InsertGeometry.py -> C:\programme\python36\cx_Oracl<wbr>= e-doc\samples<br> copying samples\QueryChangeNotificatio<wbr>n.py -> C:\programme\python36= \cx_Oracl<wbr>e-doc\samples<br> copying samples\ReturnLongs.py -> C:\programme\python36\cx_Oracl<wbr>e-d= oc\samples<br> copying samples\ReturnNumbersAsDecimal<wbr>s.py -> C:\programme\python36= \cx_Oracl<wbr>e-doc\samples<br> copying samples\ReturnUnicode.py -> C:\programme\python36\cx_Oracl<wbr>e= -doc\samples<br> copying samples\RowsAsInstance.py -> C:\programme\python36\cx_Oracl<wbr>= e-doc\samples<br> copying samples\ScrollableCursors.py -> C:\programme\python36\cx_Oracl<w= br>e-doc\samples<br> copying samples\Threads.py -> C:\programme\python36\cx_Oracl<wbr>e-doc\s= amples<br> copying samples\TransactionGuard.py -> C:\programme\python36\cx_Oracl<wb= r>e-doc\samples<br> copying samples\TypeHandlers.py -> C:\programme\python36\cx_Oracl<wbr>e-= doc\samples<br> copying samples\UniversalRowids.py -> C:\programme\python36\cx_Oracl<wbr= >e-doc\samples<br> copying test\BooleanVar.py -> C:\programme\python36\cx_Oracl<wbr>e-doc\t= est<br> copying test\Connection.py -> C:\programme\python36\cx_Oracl<wbr>e-doc\t= est<br> copying test\Cursor.py -> C:\programme\python36\cx_Oracl<wbr>e-doc\test<= br> copying test\CursorVar.py -> C:\programme\python36\cx_Oracl<wbr>e-doc\te= st<br> copying test\DateTimeVar.py -> C:\programme\python36\cx_Oracl<wbr>e-doc\= test<br> copying test\DMLReturning.py -> C:\programme\python36\cx_Oracl<wbr>e-doc= \test<br> copying test\DropTest.sql -> C:\programme\python36\cx_Oracl<wbr>e-doc\te= st<br> copying test\Error.py -> C:\programme\python36\cx_Oracl<wbr>e-doc\test<b= r> copying test\Features12_1.py -> C:\programme\python36\cx_Oracl<wbr>e-doc= \test<br> copying test\IntervalVar.py -> C:\programme\python36\cx_Oracl<wbr>e-doc\= test<br> copying test\LobVar.py -> C:\programme\python36\cx_Oracl<wbr>e-doc\test<= br> copying test\LongVar.py -> C:\programme\python36\cx_Oracl<wbr>e-doc\test= <br> copying test\NCharVar.py -> C:\programme\python36\cx_Oracl<wbr>e-doc\tes= t<br> copying test\NumberVar.py -> C:\programme\python36\cx_Oracl<wbr>e-doc\te= st<br> copying test\ObjectVar.py -> C:\programme\python36\cx_Oracl<wbr>e-doc\te= st<br> copying test\SessionPool.py -> C:\programme\python36\cx_Oracl<wbr>e-doc\= test<br> copying test\SetupTest.sql -> C:\programme\python36\cx_Oracl<wbr>e-doc\t= est<br> copying test\StringVar.py -> C:\programme\python36\cx_Oracl<wbr>e-doc\te= st<br> copying test\test.py -> C:\programme\python36\cx_Oracl<wbr>e-doc\test<br= > copying test\TestEnv.py -> C:\programme\python36\cx_Oracl<wbr>e-doc\test= <br> copying test\test_dbapi20.py -> C:\programme\python36\cx_Oracl<wbr>e-doc= \test<br> copying test\TimestampVar.py -> C:\programme\python36\cx_Oracl<wbr>e-doc= \test<br> copying test\uConnection.py -> C:\programme\python36\cx_Oracl<wbr>e-doc\= test<br> copying test\uCursor.py -> C:\programme\python36\cx_Oracl<wbr>e-doc\test= <br> copying test\uCursorVar.py -> C:\programme\python36\cx_Oracl<wbr>e-doc\t= est<br> copying test\uDateTimeVar.py -> C:\programme\python36\cx_Oracl<wbr>e-doc= \test<br> copying test\uFeatures12_1.py -> C:\programme\python36\cx_Oracl<wbr>e-do= c\test<br> copying test\uIntervalVar.py -> C:\programme\python36\cx_Oracl<wbr>e-doc= \test<br> copying test\uLobVar.py -> C:\programme\python36\cx_Oracl<wbr>e-doc\test= <br> copying test\uLongVar.py -> C:\programme\python36\cx_Oracl<wbr>e-doc\tes= t<br> copying test\uNumberVar.py -> C:\programme\python36\cx_Oracl<wbr>e-doc\t= est<br> copying test\uObjectVar.py -> C:\programme\python36\cx_Oracl<wbr>e-doc\t= est<br> copying test\uSessionPool.py -> C:\programme\python36\cx_Oracl<wbr>e-doc= \test<br> copying test\uStringVar.py -> C:\programme\python36\cx_Oracl<wbr>e-doc\t= est<br> copying test\uTimestampVar.py -> C:\programme\python36\cx_Oracl<wbr>e-do= c\test<br> running install_egg_info<br> Writing C:\programme\python36\Lib\site<wbr>-packages\cx_Oracle-6.0rc1-<wbr>= py3.6.egg-info<br> <br> C:\checkouts\python-cx_Oracle><wbr>\programme\python36\python -v<br> import _frozen_importlib # frozen<br> import _imp # builtin<br> import sys # builtin<br> import '_warnings' # <class '_frozen_importlib.BuiltinImpo<w= br>rter'><br> import '_thread' # <class '_frozen_importlib.BuiltinImpo<wbr= >rter'><br> import '_weakref' # <class '_frozen_importlib.BuiltinImpo<wb= r>rter'><br> import '_frozen_importlib_external' # <class '_frozen_import= lib.FrozenImpor<wbr>ter'><br> import '_io' # <class '_frozen_importlib.BuiltinImpo<wbr>rte= r'><br> import 'marshal' # <class '_frozen_importlib.BuiltinImpo<wbr= >rter'><br> import 'nt' # <class '_frozen_importlib.BuiltinImpo<wbr>rter= '><br> import _thread # previously loaded ('_thread')<br> import '_thread' # <class '_frozen_importlib.BuiltinImpo<wbr= >rter'><br> import _weakref # previously loaded ('_weakref')<br> import '_weakref' # <class '_frozen_importlib.BuiltinImpo<wb= r>rter'><br> import 'winreg' # <class '_frozen_importlib.BuiltinImpo<wbr>= rter'><br> # installing zipimport hook<br> import 'zipimport' # <class '_frozen_importlib.BuiltinImpo<w= br>rter'><br> # installed zipimport hook<br> # C:\programme\python36\lib\enco<wbr>dings\__pycache__\__init__.<wbr>cpytho= n-36.pyc matches C:\programme\python36\lib\enco<wbr>dings\__init__.py<br> # code object from 'C:\\programme\\python36\\lib\<wbr>\encodings\\__pyc= ache__\\__ini<wbr>t__.cpython-36.pyc'<br> # C:\programme\python36\lib\__py<wbr>cache__\codecs.cpython-36.pyc matches = C:\programme\python36\lib\code<wbr>cs.py<br> # code object from 'C:\\programme\\python36\\lib\<wbr>\__pycache__\\cod= ecs.cpython-3<wbr>6.pyc'<br> import '_codecs' # <class '_frozen_importlib.BuiltinImpo<wbr= >rter'><br> import 'codecs' # <_frozen_importlib_external.So<wbr>urceFileLoa= der object at 0x00000251FAE8BA58><br> # C:\programme\python36\lib\enco<wbr>dings\__pycache__\aliases.cpyt<wbr>hon= -36.pyc matches C:\programme\python36\lib\enco<wbr>dings\aliases.py<br> # code object from 'C:\\programme\\python36\\lib\<wbr>\encodings\\__pyc= ache__\\alias<wbr>es.cpython-36.pyc'<br> import 'encodings.aliases' # <_frozen_importlib_external.So<wbr>= urceFileLoader object at 0x00000251FAEA46A0><br> import 'encodings' # <_frozen_importlib_external.So<wbr>urceFile= Loader object at 0x00000251FAE8B160><br> # C:\programme\python36\lib\enco<wbr>dings\__pycache__\utf_8.cpytho<wbr>n-3= 6.pyc matches C:\programme\python36\lib\enco<wbr>dings\utf_8.py<br> # code object from 'C:\\programme\\python36\\lib\<wbr>\encodings\\__pyc= ache__\\utf_8<wbr>.cpython-36.pyc'<br> import 'encodings.utf_8' # <_frozen_importlib_external.So<wbr>ur= ceFileLoader object at 0x00000251FAEB7710><br> import '_signal' # <class '_frozen_importlib.BuiltinImpo<wbr= >rter'><br> # C:\programme\python36\lib\enco<wbr>dings\__pycache__\latin_1.cpyt<wbr>hon= -36.pyc matches C:\programme\python36\lib\enco<wbr>dings\latin_1.py<br> # code object from 'C:\\programme\\python36\\lib\<wbr>\encodings\\__pyc= ache__\\latin<wbr>_1.cpython-36.pyc'<br> import 'encodings.latin_1' # <_frozen_importlib_external.So<wbr>= urceFileLoader object at 0x00000251FAEB7B70><br> # C:\programme\python36\lib\__py<wbr>cache__\io.cpython-36.pyc matches C:\p= rogramme\python36\lib\io.p<wbr>y<br> # code object from 'C:\\programme\\python36\\lib\<wbr>\__pycache__\\<a = href=3D"http://io.cpython-36.py">io.cpython-36.py</a><wbr>c'<br> # C:\programme\python36\lib\__py<wbr>cache__\abc.cpython-36.pyc matches C:\= programme\python36\lib\abc.<wbr>py<br> # code object from 'C:\\programme\\python36\\lib\<wbr>\__pycache__\\abc= .cpython-36.p<wbr>yc'<br> # C:\programme\python36\lib\__py<wbr>cache__\_weakrefset.cpython-36<wbr>.py= c matches C:\programme\python36\lib\_wea<wbr>krefset.py<br> # code object from 'C:\\programme\\python36\\lib\<wbr>\__pycache__\\_we= akrefset.cpyt<wbr>hon-36.pyc'<br> import '_weakrefset' # <_frozen_importlib_external.So<wbr>urceFi= leLoader object at 0x00000251FAEBCA58><br> import 'abc' # <_frozen_importlib_external.So<wbr>urceFileLoader= object at 0x00000251FAEBC128><br> import 'io' # <_frozen_importlib_external.So<wbr>urceFileLoader = object at 0x00000251FAEB7D30><br> # C:\programme\python36\lib\__py<wbr>cache__\site.cpython-36.pyc matches C:= \programme\python36\lib\site<wbr>.py<br> # code object from 'C:\\programme\\python36\\lib\<wbr>\__pycache__\\sit= e.cpython-36.<wbr>pyc'<br> # C:\programme\python36\lib\__py<wbr>cache__\os.cpython-36.pyc matches C:\p= rogramme\python36\lib\os.p<wbr>y<br> # code object from 'C:\\programme\\python36\\lib\<wbr>\__pycache__\\<a = href=3D"http://os.cpython-36.py">os.cpython-36.py</a><wbr>c'<br> import 'errno' # <class '_frozen_importlib.BuiltinImpo<wbr>r= ter'><br> # C:\programme\python36\lib\__py<wbr>cache__\stat.cpython-36.pyc matches C:= \programme\python36\lib\stat<wbr>.py<br> # code object from 'C:\\programme\\python36\\lib\<wbr>\__pycache__\\sta= t.cpython-36.<wbr>pyc'<br> import '_stat' # <class '_frozen_importlib.BuiltinImpo<wbr>r= ter'><br> import 'stat' # <_frozen_importlib_external.So<wbr>urceFileLoade= r object at 0x00000251FAEE76A0><br> # C:\programme\python36\lib\__py<wbr>cache__\ntpath.cpython-36.pyc matches = C:\programme\python36\lib\ntpa<wbr>th.py<br> # code object from 'C:\\programme\\python36\\lib\<wbr>\__pycache__\\ntp= ath.cpython-3<wbr>6.pyc'<br> # C:\programme\python36\lib\__py<wbr>cache__\genericpath.cpython-36<wbr>.py= c matches C:\programme\python36\lib\gene<wbr>ricpath.py<br> # code object from 'C:\\programme\\python36\\lib\<wbr>\__pycache__\\gen= ericpath.cpyt<wbr>hon-36.pyc'<br> import 'genericpath' # <_frozen_importlib_external.So<wbr>urceFi= leLoader object at 0x00000251FAEF15C0><br> import 'ntpath' # <_frozen_importlib_external.So<wbr>urceFileLoa= der object at 0x00000251FAEE7D30><br> # C:\programme\python36\lib\__py<wbr>cache__\_collections_abc.cpyth<wbr>on-= 36.pyc matches C:\programme\python36\lib\_col<wbr>lections_abc.py<br> # code object from 'C:\\programme\\python36\\lib\<wbr>\__pycache__\\_co= llections_abc<wbr>.cpython-36.pyc'<br> import '_collections_abc' # <_frozen_importlib_external.So<wbr>u= rceFileLoader object at 0x00000251FAEF1B70><br> import 'os' # <_frozen_importlib_external.So<wbr>urceFileLoader = object at 0x00000251FAED4630><br> # C:\programme\python36\lib\__py<wbr>cache__\_sitebuiltins.cpython-<wbr>36.= pyc matches C:\programme\python36\lib\_sit<wbr>ebuiltins.py<br> # code object from 'C:\\programme\\python36\\lib\<wbr>\__pycache__\\_si= tebuiltins.cp<wbr>ython-36.pyc'<br> import '_sitebuiltins' # <_frozen_importlib_external.So<wbr>urce= FileLoader object at 0x00000251FAED4A20><br> # C:\programme\python36\lib\__py<wbr>cache__\sysconfig.cpython-36.<wbr>pyc = matches C:\programme\python36\lib\sysc<wbr>onfig.py<br> # code object from 'C:\\programme\\python36\\lib\<wbr>\__pycache__\\sys= config.cpytho<wbr>n-36.pyc'<br> import 'sysconfig' # <_frozen_importlib_external.So<wbr>urceFile= Loader object at 0x00000251FAED4EB8><br> # C:\programme\python36\lib\__py<wbr>cache__\_bootlocale.cpython-36<wbr>.py= c matches C:\programme\python36\lib\_boo<wbr>tlocale.py<br> # code object from 'C:\\programme\\python36\\lib\<wbr>\__pycache__\\_bo= otlocale.cpyt<wbr>hon-36.pyc'<br> import '_locale' # <class '_frozen_importlib.BuiltinImpo<wbr= >rter'><br> import '_bootlocale' # <_frozen_importlib_external.So<wbr>urceFi= leLoader object at 0x00000251FCCAA2B0><br> # C:\programme\python36\lib\enco<wbr>dings\__pycache__\cp1252.cpyth<wbr>on-= 36.pyc matches C:\programme\python36\lib\enco<wbr>dings\cp1252.py<br> # code object from 'C:\\programme\\python36\\lib\<wbr>\encodings\\__pyc= ache__\\cp125<wbr>2.cpython-36.pyc'<br> import 'encodings.cp1252' # <_frozen_importlib_external.So<wbr>u= rceFileLoader object at 0x00000251FCCAA7B8><br> import 'site' # <_frozen_importlib_external.So<wbr>urceFileLoade= r object at 0x00000251FAECD2E8><span class=3D"gmail-"><br> Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 bi= t (AMD64)] on win32<br> Type "help", "copyright", "credits" or "= license" for more information.<br></span> import 'atexit' # <class '_frozen_importlib.BuiltinImpo<wbr>= rter'><br> <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-= left:1px solid rgb(204,204,204);padding-left:1ex"><blockquote class=3D"gmai= l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,20= 4,204);padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"margin:= 0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> import cx_Oracle<br> </blockquote></blockquote></blockquote> # C:\programme\python36\lib\__py<wbr>cache__\<a href=3D"http://datetime.cpy= thon-36.py">datetime.cpython-36.py</a><wbr>c matches C:\programme\python36\= lib\date<wbr>time.py<br> # code object from 'C:\\programme\\python36\\lib\<wbr>\__pycache__\\dat= etime.cpython<wbr>-36.pyc'<br> import 'time' # <class '_frozen_importlib.BuiltinImpo<wbr>rt= er'><br> import 'math' # <class '_frozen_importlib.BuiltinImpo<wbr>rt= er'><br> import '_datetime' # <class '_frozen_importlib.BuiltinImpo<w= br>rter'><br> import 'datetime' # <_frozen_importlib_external.So<wbr>urceFileL= oader object at 0x00000251FCCB35F8><br> # C:\programme\python36\lib\__py<wbr>cache__\decimal.cpython-36.pyc matches= C:\programme\python36\lib\deci<wbr>mal.py<br> # code object from 'C:\\programme\\python36\\lib\<wbr>\__pycache__\\dec= imal.cpython-<wbr>36.pyc'<br> # C:\programme\python36\lib\__py<wbr>cache__\numbers.cpython-36.pyc matches= C:\programme\python36\lib\numb<wbr>ers.py<br> # code object from 'C:\\programme\\python36\\lib\<wbr>\__pycache__\\num= bers.cpython-<wbr>36.pyc'<br> import 'numbers' # <_frozen_importlib_external.So<wbr>urceFileLo= ader object at 0x00000251FCDFC828><br> # C:\programme\python36\lib\coll<wbr>ections\__pycache__\__init__.<wbr>cpyt= hon-36.pyc matches C:\programme\python36\lib\coll<wbr>ections\__init__.py<b= r> # code object from 'C:\\programme\\python36\\lib\<wbr>\collections\\__p= ycache__\\__i<wbr>nit__.cpython-36.pyc'<br> # C:\programme\python36\lib\__py<wbr>cache__\<a href=3D"http://operator.cpy= thon-36.py">operator.cpython-36.py</a><wbr>c matches C:\programme\python36\= lib\oper<wbr>ator.py<br> # code object from 'C:\\programme\\python36\\lib\<wbr>\__pycache__\\ope= rator.cpython<wbr>-36.pyc'<br> import '_operator' # <class '_frozen_importlib.BuiltinImpo<w= br>rter'><br> import 'operator' # <_frozen_importlib_external.So<wbr>urceFileL= oader object at 0x00000251FCE1BA90><br> # C:\programme\python36\lib\__py<wbr>cache__\keyword.cpython-36.pyc matches= C:\programme\python36\lib\keyw<wbr>ord.py<br> # code object from 'C:\\programme\\python36\\lib\<wbr>\__pycache__\\key= word.cpython-<wbr>36.pyc'<br> import 'keyword' # <_frozen_importlib_external.So<wbr>urceFileLo= ader object at 0x00000251FCE34DA0><br> # C:\programme\python36\lib\__py<wbr>cache__\heapq.cpython-36.pyc matches C= :\programme\python36\lib\heap<wbr>q.py<br> # code object from 'C:\\programme\\python36\\lib\<wbr>\__pycache__\\hea= pq.cpython-36<wbr>.pyc'<br> import '_heapq' # <class '_frozen_importlib.BuiltinImpo<wbr>= rter'><br> import 'heapq' # <_frozen_importlib_external.So<wbr>urceFileLoad= er object at 0x00000251FCE3B5F8><br> import 'itertools' # <class '_frozen_importlib.BuiltinImpo<w= br>rter'><br> # C:\programme\python36\lib\__py<wbr>cache__\reprlib.cpython-36.pyc matches= C:\programme\python36\lib\repr<wbr>lib.py<br> # code object from 'C:\\programme\\python36\\lib\<wbr>\__pycache__\\rep= rlib.cpython-<wbr>36.pyc'<br> import 'reprlib' # <_frozen_importlib_external.So<wbr>urceFileLo= ader object at 0x00000251FCE3BB70><br> import '_collections' # <class '_frozen_importlib.BuiltinImp= o<wbr>rter'><br> import 'collections' # <_frozen_importlib_external.So<wbr>urceFi= leLoader object at 0x00000251FCDEE1D0><br> # extension module '_decimal' loaded from 'C:\\programme\\pytho= n36\\DLLs<wbr>\\_decimal.pyd'<br> # extension module '_decimal' executed from 'C:\\programme\\pyt= hon36\\DLLs<wbr>\\_decimal.pyd'<br> import '_decimal' # <_frozen_importlib_external.Ex<wbr>tensionFi= leLoader object at 0x00000251FCCB38D0><br> import 'decimal' # <_frozen_importlib_external.So<wbr>urceFileLo= ader object at 0x00000251FCCB3780><span class=3D"gmail-"><br> Traceback (most recent call last):<br> =C2=A0 File "<stdin>", line 1, in <module><br></span> =C2=A0 File "<frozen importlib._bootstrap>", line 961, in _= find_and_load<br> =C2=A0 File "<frozen importlib._bootstrap>", line 950, in _= find_and_load_unlocked<br> =C2=A0 File "<frozen importlib._bootstrap>", line 648, in _= load_unlocked<br> =C2=A0 File "<frozen importlib._bootstrap>", line 560, in m= odule_from_spec<br> =C2=A0 File "<frozen importlib._bootstrap_external><wbr>", = line 922, in create_module<br> =C2=A0 File "<frozen importlib._bootstrap>", line 205, in _= call_with_frames_removed<span class=3D"gmail-"><br> UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe4 in pos= ition 66: invalid continuation byte<br> <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-= left:1px solid rgb(204,204,204);padding-left:1ex"><blockquote class=3D"gmai= l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,20= 4,204);padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"margin:= 0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br> </blockquote></blockquote></blockquote> <br></span> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D<wbr>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<wbr>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D<span class=3D"gmail-"><br> <br> <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-= left:1px solid rgb(204,204,204);padding-left:1ex"> I also note that you are using VS 2017. Another person noted that<br> uninstalling VS 2017 and using an earlier version worked for him -- why<br> that would be is an interesting question (!!?) but if you have a machine<br= > that doesn't have VS 2017 but an earlier version that would be worth<br= > testing, too.<br> </blockquote> <br></span> We currently don't have a Windows 10 machine without VS 2017, but we= 9;re going to<br> uninstall VS 2017 on this machine and retry with and an older version.<br> <br> Also, IIRC this exception means that the VS Redistributables are missing or= are<br> installed incorrectly.<br> <br> However I don't know how we can check this.</blockquote><div><br></div>= <div>You can use this tool:=C2=A0<a href=3D"http://www.dependencywalker.com= /">http://www.dependencywalker.com/</a> which will tell you what dependenci= es the cx_Oracle.pyd file and all of their dependencies, too. Hopefully it = helps.</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"mar= gin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1= ex"><span class=3D"gmail-im gmail-HOEnZb"><br> <br> <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-= left:1px solid rgb(204,204,204);padding-left:1ex"> Regarding the dbapi20 tests, it would appear that this is not well<br> supported by the community. Go ahead and log an issue. I'll do some mor= e<br> investigation. Fixing the code you noted above to work with Python 3 is<br> easy enough -- but it won't help much if the dbapi20.py module isn'= t<br> available!<br> <br> Anthony<br> </blockquote> <br></span><div class=3D"gmail-HOEnZb"><div class=3D"gmail-h5"> Servus,<br> =C2=A0 =C2=A0Walter<br> <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" target=3D"_blank">= [email protected]<wbr>rge.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> </div></div></blockquote></div><br></div></div> --94eb2c03e35aeb97a305537ec90c-- --===============1810394095970301594== 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 --===============1810394095970301594== 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 --===============1810394095970301594==--