You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
imp module is deprecated in favour of importlib #12474
from sklearn.base import BaseEstimator, TransformerMixin
generates this error
/usr/local/lib/python3.6/dist-packages/sklearn/externals/joblib/externals/cloudpickle/cloudpickle.py:47: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
Steps/Code to Reproduce
starting the Python terminal and entering the following
from sklearn.base import BaseEstimator, TransformerMixin
generates this error
/usr/local/lib/python3.6/dist-packages/sklearn/externals/joblib/externals/cloudpickle/cloudpickle.py:47: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
Expected Results
No error is thrown.
Actual Results
/usr/local/lib/python3.6/dist-packages/sklearn/externals/joblib/externals/cloudpickle/cloudpickle.py:47: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
Activity
amueller commentedon Oct 28, 2018
duplicate of ##12434
I guess we can keep this one open as people don't seem to search closed issues.
Btw, this is not an error, it's a warning, so you do get your expected results of no errors.