Installing nfl_data_py on Mac

3 July 2023
3 Jul 2023
1 min read

I’ve been trying to redownload nfl_data_py on my Mac after hosing my python installation. The error I kept running into was that python-snappy wouldn’t download, which kicked nfl_data_py out of the installation process. I googled around a bit and found this stackoverflow

What worked for me on the Mac was using homebrew to install python-snappy and then using the following command to link the two together.

CPPFLAGS="-I/usr/local/include -L/usr/local/lib" pip install python-snappy

Want to know more?

I spend a ton of time thinking on how to work smarter, not harder. If you'd like to be the first to know what I'm thinking about, sign up to the list below.

GPT-4 Working Notes