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

解决方法:

首先下载joblib

pip install joblib

然后将joblib文件夹放到sklearn中,路径以我电脑为例:

C:\Users\lenovo\AppData\Local\Programs\Python\Python310\Lib\site-packages\sklearn\externals

你可能感兴趣的:(sklearn,python,bug)