-
Notifications
You must be signed in to change notification settings - Fork 716
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
dowhy is no longer a dependency of the main econml package #789
Comments
This is by design; as the error message indicates, if you'd like to use the integrated dowhy functionality you should install the Is there something that we could change about the error message or documentation to make this more clear? |
i have installed econml[dowhy] and dowhy,but the error still exists,I found that this error is related to the Python version, and it occurs when I use the latest version of Python(3.10.9) |
@kbattocchi I am getting the same error despite trying the pip installs you mentioned. Can you clarify? |
@titubs Could you include both the full stack trace as well as the output of I suspect the issue is actually that either |
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
The text was updated successfully, but these errors were encountered: