jupyter notebook导入sklearn报错

jupyter notebook导入sklearn报错显示cannot import name '_rename_parameter' from 'scipy._lib._util'

img

参考一下

cannot import name '_rename_parameter' from 'scipy._lib._util'
无法从“scipy._lib._util”导入名称“_rename_parameter”
分析:一般大多是高低版本问题

思路1:pip uninstall scipy
pip install scipy ==1.0.0
思路2:pip install scipy --upgrade

Scripy1.9.3有这个函数啊我看,你应该装的是新版吧

jupyter notebook中导入skelearn.impute 出现问题以及解决方法
https://blog.csdn.net/bluebowl402/article/details/122548488
有问题可以一起探讨