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
SyntaxError: unqualified exec is not allowed in function 'test_EvalEnvironment_capture_flag #1108
I am getting SyntaxError building the statsmodel package. I am not sure if this is a patsy bug or statsmodel. Can someone verify this? Thanks.
python 2.7.5 (stable)
/usr/pkg/python/current/bin/python2.7 setup.py build
Traceback (most recent call last):
I downgraded patsy version 0.2.1 to 0.1.0 and was able to build with lot of warnings:
#warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
build install working...
Now when running the acid test:
Python 2.7.5 (default, Oct 8 2013, 16:27:21)
I'm running scipy 0.12 and compiles cleanly.
So what does these undefined symbols means when I import statmodels.api? Should I downgrade to scipi 0.7 instead?
I downgraded patsy from 0.21 to 0.1 and now I am able to build. However, I
On Wed, Oct 9, 2013 at 9:18 AM, Josef Perktold email@example.com:
check your scipy install:
your traceback means that scipy is not properly installed
It would be easier but less up-to-date to install scipy from your package distribution. If you want to upgrade scipy, then you would have to ask on the scipy-user mailing list. I'm not familiar with any Linux scipy install problems.
Also you should run the numpy tests, to see if that one is correctly installed.
Something looks strange in your build environment, but I have no guess for that.