Closed Yif18 closed 1 year ago
The error message indicates that dowhy is not installed. you can install dowhy separately. Do you see the message even after installing dowhy?
This issue is stale because it has been open for 14 days with no activity.
i have installed dowhy,but the error still exists. I found that this error is related to the version of Python, and it will appear in the latest version of Python
---- Replied Message ---- | From | Amit @.> | | Date | 07/12/2023 19:28 | | To | py-why/dowhy @.> | | Cc | Yif18 @.>, Author @.> | | Subject | Re: [py-why/dowhy] ImportError: dowhy is no longer a dependency of the main econml package; install econml[dowhy] or econml[all] to require it, or install dowhy separately to use dowhy from econml (Issue #969) |
The error message indicates that dowhy is not installed. you can install dowhy separately. Do you see the message even after installing dowhy?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
This issue is stale because it has been open for 14 days with no activity.
This issue was closed because it has been inactive for 7 days since being marked as stale.
import dowhy import econml.dowhy
est = LinearDML(model_y=GradientBoostingRegressor(), model_t=GradientBoostingRegressor(), featurizer=PolynomialFeatures(degree=2, include_bias=False)) est_dw = est.dowhy.fit(Y, T, X=X, W=W, outcome_names=["log_demand"], treatment_names=["log_price"], feature_names=["income"], confounder_names=confounder_names, inference="statsmodels")
ImportError: dowhy is no longer a dependency of the main econml package; install econml[dowhy] or econml[all] to require it, or install dowhy separately to use dowhy from econml