Pyodbc - “Data source name not found, and no default driver specified”

后端 未结 5 1996
闹比i
闹比i 2020-11-27 15:39

I have trouble getting pyodbc work. I have unixodbc , unixodbc-dev, odbc-postgresql, pyodbc packages install

5条回答
  •  猫巷女王i
    2020-11-27 16:32

    For others troubleshooting this same generic error, ensure that you didn't accidentally add extraneous characters at the top of your odbc.ini file - which causes it to be invalid and all data-source declarations to be silently ignored (the error giving no indication of the specific problem).

提交回复
热议问题