The error shows that we are not able to import the '_joblib_parallel_args' from 'sklearn.utils.fixes'
To fix this issue follow below ways:
- Uninstall and install the latest version of scikit-learn
#uninstall sklearn
pip uninstall sklearn
#uninstall scikit-learn
pip uninstall scikit-learn
#install sklearn
pip install sklearn
- Update scikit-learn into latest version
# update the scikit-learn & sklearn
pip install --upgrade scikit-learn
- You can directly import the joblib don't want to get from 'sklearn.utils.fixes.
Instead of importing below format
from sklearn.utils.fixes import joblib
You can use
import joblib
Reference