mkleehammer / pyodbc

Python ODBC bridge
https://github.com/mkleehammer/pyodbc/wiki
MIT No Attribution
2.95k stars 563 forks source link

Suggest to install unixodbc instead of build fails with TypeError expected 2 arguments got 0. #1269

Closed Carreau closed 2 months ago

Carreau commented 1 year ago

It's not much, but I guess it could prevent a few minutes of googling.

Carreau commented 1 year ago

See Error in https://github.com/mkleehammer/pyodbc/discussions/1263#discussioncomment-6865709, slightly different than #1214

keitherskine commented 9 months ago

It would certainly be good if pyodbc checked for a driver manager, but we should probably check for iODBC as well, and I'm not sure about raising an exception rather than just outputting a warning.

mkleehammer commented 9 months ago

Two things:

Suggesting conda could really confuse things. I would use apt or nala on Ubuntu, RH uses something else, etc.

Second, do the binary wheels work with iODBC? Do they embed the unixodbc lib or something? I know we had to disable that until we got ARM runners or it would embed Intel libraries in the ARM binary wheels.