-
Notifications
You must be signed in to change notification settings - Fork 818
ModuleNotFoundError: No module named 'sklearn.utils.testing' #285
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
Comments
|
Thanks for filling the issue. It was addressed in #283, and will be available in the next PyPI release. Meanwhile, you can either use scikit-learn==0.23 with causalml==0.9 or install causalml from the repo. Best, |
thanks. p.s. have you seen this ? "cannot import name 'getargspec_no_self' from 'scipy._lib._util'" |
Could you please open a separate issue for the second question? |
sklearn.utils.testing module is deprecated in version 0.22 and will be removed in version 0.24: uber/causalml#285
Those who are facing ModuleNotFoundError: No module named 'sklearn.utils.testing'
|
Describe the bug
from causalml import metrics
causesModuleNotFoundError: No module named 'sklearn.utils.testing'
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
pandas
,scikit-learn
,cython
): [e.g.pandas==1.2.0
,scikit-learn==0.24.0
]Additional context
I guess there is some collision between conda and pip
The text was updated successfully, but these errors were encountered: