I am trying to connect to an Oracle database using cx_Oracle.
my code is the following:
import cx_Oracle
connection=cx_O racle('user','p wd','host')
and I get the following error.
cx_Oracle.Datab aseError: ORA-24315: illegal attribute type
I can connect to the same database using SQL+ with all the same user, pwd, and host. I can not figure out what I am doing wrong.
...
Search Result
Collapse
3 results in 0.0015 seconds.
Keywords
Members
Tags
-
Python DLL load failed
I am trying to import cx_Oracle. I am using Python 3.1 and have the correct cx_Oracle installed for python 3.1 and also the Oracle 10 I am using. I had it working and am not sure how I got it to work, but it no longer works and I do not know how to fix it.
It is in my system path.
Michelle -
Trying to install cx_Oracle
I'm new to Python and would like to learn it but also want to use cx_Oracle to access Oracle. I've installed 2 versions of Python and on the latest version (3.1.2) I get the error
File "<stdin>", line 1
install cx_Oracle
^
SyntaxError: invalid syntax
Please Help
I've put the cx_Oracle in the local dirctory and the path to it in the path. I'm using window...