py-why / dowhy

DoWhy is a Python library for causal inference that supports explicit modeling and testing of causal assumptions. DoWhy is based on a unified language for causal inference, combining causal graphical models and potential outcomes frameworks.

Home Page:https://www.pywhy.org/dowhy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

numpy has no attribute 'long'

zzzrbx opened this issue · comments

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

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.