Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  Pyodbc couldn't find unixODBC driver

    Posted Wed March 13, 2024 04:29 PM

    Hi AIX experts,

    We have Python 3.9.17 and pyodbc / unixODBC package installed. When we tried to import pyodbc for connecting to MS SQL server, it seems pyodbc couldn't find the unixODBC driver. Can you please help?

     /home/xxxxxx: python3
    Python 3.9.17 (main, Jul  5 2023, 06:17:22)
    [GCC 10.3.0] on aix
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import pyodbc
    >>> pyodbc.drivers()
    []
    >>>

    Thanks

    Mi



    ------------------------------
    Mi Wang
    ------------------------------

    #AIXOpenSource


  • 2.  RE: Pyodbc couldn't find unixODBC driver

    Posted Thu March 14, 2024 02:15 PM

    Hi SANGAMESH / Ayappan,

    Can you please help for this?

    Thanks

    Mi



    ------------------------------
    Mi Wang
    ------------------------------