Installing statsmodels for Python on Mac OSX - Shuang0420/Shuang0420.github.io GitHub Wiki

install patsy:

pip install --upgrade patsy

then install statsmodels

pip install statsmodels

if following error

ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out.

then try

pip --default-timeout=100 install -U pip

References

http://gnperdue.github.io/yak-shaving/osx/python/2014/05/10/statsmodels.html

http://angelzou.github.io/06-08-2015-update-pip-with-read-timeout-error.html

⚠️ **GitHub.com Fallback** ⚠️