Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Carreau
Copy link

@Carreau Carreau commented Aug 30, 2023

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

It's not much, but I guess it could prevent a few minutes of googling.
@Carreau
Copy link
Author

Carreau commented Aug 30, 2023

See Error in #1263 (reply in thread), slightly different than #1214

@Carreau Carreau changed the title Suggest to install unixodbc if build fails. Suggest to install unixodbc instead of build fails with TypeError expected 2 arguments got 0. Aug 30, 2023
@keitherskine
Copy link
Collaborator

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants