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

numpy has no attribute 'long' #1052

Open
zzzrbx opened this issue Oct 29, 2023 · 1 comment
Open

numpy has no attribute 'long' #1052

zzzrbx opened this issue Oct 29, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@zzzrbx
Copy link

zzzrbx commented Oct 29, 2023

I'm installing via pip and I'm getting this error despite having numpy version 1.24.

@zzzrbx zzzrbx added the bug Something isn't working label Oct 29, 2023
@amit-sharma
Copy link
Member

amit-sharma commented Nov 4, 2023

This is a numpy issue. long has been removed in 1.24. You can use 1.23 version of numpy (or any other version >=1.20) to avoid this error.

dowhy does not use np.long. This is most likely an error due to one of the dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants