error in connecting python with oracle

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • maya
    New Member
    • Sep 2005
    • 3

    #1

    error in connecting python with oracle

    haii all
    i have probelm with oracle and python..
    i installed oracle 10g and python2.4on windows xp machine.. and i can connect database thru python...( also installed mxODBC)
    now i want to connect this databse(windows xp) from linux(debian etch) machine..in debian i installed python 2.4, http://downloads.egeni x.com/python/egenix-mx-commercial-2.0.7-py2.3_1.i386.rp m, libiodbc and iodbc.. but i can't connect it.. it shows some errors.. like this
    "mxODBC.Operati onalError: ('IM002', 0, '[iODBC][Driver Manager]
    Data source namenot found and no default driver specified.
    Driver could not be loaded', 6044)"

    wat i can do?.. plz help

    thanks in advance
  • bartonc
    Recognized Expert Expert
    • Sep 2006
    • 6478

    #2
    Originally posted by maya
    haii all
    i have probelm with oracle and python..
    i installed oracle 10g and python2.4on windows xp machine.. and i can connect database thru python...( also installed mxODBC)
    now i want to connect this databse(windows xp) from linux(debian etch) machine..in debian i installed python 2.4, http://downloads.egeni x.com/python/egenix-mx-commercial-2.0.7-py2.3_1.i386.rp m, libiodbc and iodbc.. but i can't connect it.. it shows some errors.. like this
    "mxODBC.Operati onalError: ('IM002', 0, '[iODBC][Driver Manager]
    Data source namenot found and no default driver specified.
    Driver could not be loaded', 6044)"

    wat i can do?.. plz help

    thanks in advance
    I suspect that you have not setup ODBC yet. On Windows it in Administrative Tools. I don't know where it will be on Linux.

    Comment

    Working...