Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
UnboundLocalError When trying to install OS X #843
When I try to install statsmodels under OSX, I get the following error message:
bash-3.2$ /usr/local/bin/python2.7 setup.py build
a.close() in the finally needs to be protected again with a try except.
a is not defined if
to see why opening the file fails, you could help us and copy
I used to run into this sometimes with pandas and numpy also (not sure about recently) but it is avoidable. With statsmodels it was usually a consequence of having to build everything twice with the Cython code before so that that file gets written by the sudo install step instead of the build command. I'm not opposed to a fix, but it's low priority for me.