TypeError: unsupported Python data type: file
:
In [9]: import cxOracle
Traceback (most recent call last):
File "<ipython-input-9-d1ecebcba3d2>", line 1, in <module>
import cx_Oracle
ImportError: DLL load failed: %1 is not a valid Win32 application.
:
C:\Users\system.labuser>pip install cx_Oracle
Collecting cs_Oracle
Using cached cx_Oracle-5.2.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback <most recent call last>:
File "<string>", line 1, in <module>
File "c:\users\system~1.lab\appdata\local\temp\pip-build-5bnyuh\cx-Oracle\setup.py", line 170, in <module>
raise DistutilsSetupError<"cannot locate an Oracle software " \
distutils.errors.DistutilsSetupError: cannot locate an Oracle software installation
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in c:\users\system~1.lab\appdata\local\temp\pip-build-5bnyuh\cx-Oracle\
Referred to this question. Problem still persists. I use a Windows 7 64 bit PC. How can I solve this?