Skip to content

Conversation

RA80533
Copy link

@RA80533 RA80533 commented Apr 27, 2023

Fixes #1211

@RA80533
Copy link
Author

RA80533 commented Mar 7, 2024

@mkleehammer What can I do to bring this over the finish line?

@coreyo
Copy link

coreyo commented Sep 10, 2025

Please consider this. Why has it been ignored for years now? You cannot install this package on MacOS using tools like pip without manually downloading it and setting extra environment variables:
https://whodeenie.medium.com/installing-pyodbc-and-unixodbc-for-apple-silicon-8e238ed7f216

I currently do the following to make the package work:

pip uninstall pyodbc
export CPPFLAGS="-I/opt/homebrew/include"
export LDFLAGS="-L/opt/homebrew/lib -liodbc -liodbcinst"
cd path/to/pyodbc-X.X.X.tar.gz
pip install pyodbc-X.X.X.tar.gz

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.

setup.py doesn't use HOMEBREW_PREFIX to find Homebrew (sometimes it can't find it)
2 participants