pyodbc icon indicating copy to clipboard operation
pyodbc copied to clipboard

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

Open Carreau opened this issue 2 years ago • 3 comments
trafficstars

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

Carreau avatar Aug 30 '23 16:08 Carreau

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

Carreau avatar Aug 30 '23 16:08 Carreau

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.

keitherskine avatar Feb 05 '24 15:02 keitherskine

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.

mkleehammer avatar Feb 09 '24 23:02 mkleehammer