I'm getting ImportError: cannot import name 'joblib' error while run python app. App file contain from sklearn.externals import joblib,, sklearn and joblib library already installed.
Please help me.
This code was written for an older version of scikit-learn.
Just use:
import joblib
instead in the code.
If this is a library you cannot modify your self or cannot update to a version compatible with the latest version of scikit-learn, please downgrade the version of scikit-learn to use a compatible version.
This code was written for an older version of scikit-learn.
Just use:
import joblibinstead in the code.
If this is a library you cannot modify your self or cannot update to a version compatible with the latest version of scikit-learn, please downgrade the version of scikit-learn to use a compatible version.
This worked for me, Thanks
Change` from
sklearn.externals import joblib
to `
import joblib as jb
Most helpful comment
This code was written for an older version of scikit-learn.
Just use:
instead in the code.
If this is a library you cannot modify your self or cannot update to a version compatible with the latest version of scikit-learn, please downgrade the version of scikit-learn to use a compatible version.