2020-10-02
阅读量:
1275
如何安装imblearn包
安装imblearn的代码为:pip install —user imblearn -i https://pypi.tuna.tsinghua.edu.cn/simple
但是显示报错,报错原因如下图所示:
注意看一下报错原因,显示版本为2.0.0,版本太低,需要更新scikit-learn:
因此,更新scikit-learn代码为:pip install --upgrade scikit-learn -i https://pypi.tuna.tsinghua.edu.cn/simple
如果还不行,请试一下:
conda upgrade notebook
conda upgrade jupyter






评论(0)


暂无数据
推荐帖子
0条评论
0条评论
0条评论