Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

Comments

Projects
None yet
3 participants
@kuzaleks
Copy link

commented Jul 18, 2014

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

This comment has been minimized.

Copy link
Member

commented Jul 18, 2014

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

This comment has been minimized.

Copy link
Member

commented Jul 18, 2014

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

This comment has been minimized.

Copy link
Author

commented Jul 21, 2014

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

This comment has been minimized.

Copy link
Member

commented Jul 21, 2014

good, closing issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.