How to use OS Env Vars in odbcinst.ini file

Hi, I am trying to use environment variables inside my odbc.ini and odbcinst.ini files, but they don’t get picked up


[Dremio ODBC Driver 64-bit]
Description=Dremio ODBC Driver(64-bit)

I am trying to reference this DREMIODRIVER env var, but it isn’t found for some reason

pyodbc.Error: (‘01000’, u"[01000] [unixODBC][Driver Manager]Can’t open lib ‘$(DREMIODRIVER)’ : file not found (0) (SQLDriverConnect)")

I have tried many variations of this



Currently this is not possible


1 Like

There is nothing I can edit in the Dremio python code to inject OS vars into the configs?