cannot import name 'joblib'from'sklearn.externals'
后来发现是Scikit-learn版本问题(多数文章发布时间较久)。原本安装的是0.23.1,报错如上,尝试安装0.20.4后,可以正常 from sklearn.externals import joblib,安装0.21.3后,报错如下
sklearn.externals.joblib is deprecated in0.21and will be removed in0.23.
Please import this functionality directly from joblib,
which can be installed with: pip install joblib