BUG Got an TypeError trying to import statsmodels.api #1836

Closed
kuzaleks opened this Issue Jul 18, 2014 · 4 comments

Projects

None yet

3 participants

@kuzaleks

Hello again!

Here is the error that appears after attempt to import statsmodels.api:
"get_blas_funcs() got an unexpected keyword argument 'dtype'"
How can I fix it?

Thanks in advance!

@josef-pkt
Member

Which statsmodels version and which version of scipy are you using?

or you could add the full version info:

>>> import statsmodels.api as sm
>>> sm.show_versions()

And you should also copy the entire traceback to the issue.

Somewhere we don't get access to the BLAS functions from scipy, or don't use the right signature.

@jseabold and @chadfulton might understand more with the extra information.

@ChadFulton
Member

I suspect this means you are using Scipy version 0.9 or lower, as the dtype argument to get_blas_funcs was not introduced until Scipy version 0.10.0.

@kuzaleks

You are absolutely right. Your suggestion has done the trick.

2014-07-18 22:51 GMT+03:00 ChadFulton notifications@github.com:

I suspect this means you are using Scipy version 0.9 or lower, as the
dtype argument to get_blas_funcs was not introduced until Scipy version
0.10.0.


Reply to this email directly or view it on GitHub
#1836 (comment)
.

@josef-pkt josef-pkt closed this Jul 21, 2014
@josef-pkt
Member

good, closing issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment