nhmyeg
Last Updated: February 25, 2016
·
1.209K
· josericardo

Installing hunspell via pip on OSX Mavericks

In case you are having trouble installing hunspell (not finding hunspell.h or -lhunspell) via pip on you mac, these steps worked for me:

$ brew install hunspell
$ export C_INCLUDE_PATH=/usr/local/include/hunspell
$ sudo ln -sf /usr/local/lib/libhunspell-1.3.a /usr/local/lib/libhunspell.a
$ pip install hunspell