You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pyodbc
Hi guys,
I'm trying to connect my app in python with a Oracle database. I've
installed pyodbc in my virtualenv but it's not working. The Oracle
instant client is working ok, I can connect using sqlplus. But when I
try to call .connect it throws an error:
cnxn = pyodbc.connect("user/password@//host:port/service")
pyodbc.Error: ('IM002', '[IM002] [iODBC][Driver Manager]Data source
name not found and no default driver specified. Driver could not be
loaded (0) (SQLDriverConnectW)')
Can anyone help me?
Thanks
Michael Kleehammer
unread,
Dec 18, 2011, 6:29:00 PM12/18/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pyo...@googlegroups.com
Have you setup your data source in Library/ODBC/odbc.ini and Library/ODBC/odbcinst.ini?
If not, that's the problem. If so, can you post them without the passwords and maybe someone can help. I don't have an Oracle install to test against right now.