简体   繁体   中英

Using pyodbc in Azure Data Studio: no drivers

I'm working in Azure Data Studio for the first time. I have successfully installed 'python'(3.7) and 'pyodbc' (if I try to reinstall I get the message that the dependency is already satisfied). I have also tried running the same script locally on macOS with the same result: empty list. I was expecting a list of the drivers. Any ideas as to what might be happening?

UPDATE/SOLUTION: I learned that for MacOS drivers will be in Library/ODBC. If that is empty or non-existent then you have have no drivers for pyodbc to use. If you have no driver then you get it from somewhere so in my case here .

在此处输入图片说明

Just make the solution visible to others, thanks @MikeB2019x for sharing the solution.

For MacOS , drivers will be in Library/OBDC. If that is empty or non-existent then you have have no drivers for pyodbc to use. If you have no driver then you get it here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM