Installing pyodbc on a mac

After installing pyodbc onto my linux server that runs my scripts I needed to create my development environment on my mac so I could develop the scripts and then transfer them over. I went through a couple of websites to put together my steps:

/usr/bin/ruby -e "$(curl -fsSL"

brew update

brew install unixodbc freetds

Pip install pyodbc

One thought on “Installing pyodbc on a mac

  1. User January 23, 2022 / 11:12 am

    Thanks for this. It saved me a lot of time and frustration. Pyodbc was stubbornly refusing to install. I don’t know what’s specifically in “unixodbc” or “freetds” that fixed it, but I appreciate the succinct solution you provided.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.