Hi there,
Im new to sqlalchemy, be kind and gentle :)
Using sqlalchemy 0.6.6 and the last stable cx_Oracle.pyd on my windows
pc.
OracleXE 10g is installed locally.
Processing the following code, gives me the error
ImportError: cannot import name cx_Oracle
import sqlalchemy
sqlalchemy.create_engine('oracle://hr:hr@XE')
connection = oracle_db.connect()
result = connection.execute("select employee_id,first_name,last_name
from Employees")
for row in result:
print (row)
connection.close()
This sound to be launched by the following code within cx_oracle
def dbapi(cls):
from . import cx_Oracle
return cx_Oracle
Tried to fix without success.
Calling similar code from cx_Oracle is running fine.
Can someone point me on the right direction ?
Regards,
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en.