python 报错:ImportError: cannot import name ‘joblib‘ from ‘sklearn.externals‘

报错内容:

ImportError: cannot import name 'joblib' from 'sklearn.externals' (D:\ProgramData\Anaconda3\lib\site-packages\sklearn\externals\__init__.py)

报错原因:

sklearn的版本太新了

解决方法:

import joblib

你可能感兴趣的:(报错,Python)