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

AttributeError during import #125

Open
adallak opened this issue Feb 1, 2024 · 2 comments
Open

AttributeError during import #125

adallak opened this issue Feb 1, 2024 · 2 comments

Comments

@adallak
Copy link

adallak commented Feb 1, 2024

Hello,
I have installed lingam 1.6.0, and when I attempt to import it, I consistently encounter the error AttributeError: module 'numpy' has no attribute 'MachAr'. It appears that the error arises when lingam attempts to import VAR from statsmodels.tsa.vector_ar.var_model.

I have attempted to resolve the issue by changing the version of 'numpy,' but unfortunately, I was unable to eliminate the error.
Thank you.

@haraoka-screen
Copy link
Contributor

haraoka-screen commented Feb 2, 2024

Older versions of statsmodels seem to have used np.MachAr. Please upgrade statsmodels and lingam.

@haraoka-screen
Copy link
Contributor

This problem seems to be fixed in 0.14.
statsmodels/statsmodels#7832

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants