使用 mglearn 绘制重复错误 [英] Getting repeated error to plot using mglearn

查看:56
本文介绍了使用 mglearn 绘制重复错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试绘制

import mglearn
mglearn.plots.plot_scaling()

但我收到以下错误:

 ModuleNotFoundError: No module named 'sklearn.externals.six'

我确实使用 pip install mglearn 安装了 mglearn.感谢您的建议!

I did install mglearn using pip install mglearn. I appreciate your suggestions!

推荐答案

这似乎是由于旧版本的 mglearn.如果您执行 pip install --upgrade mglearn,您可能会解决问题.

This seems to be due to an old version of mglearn. If you do pip install --upgrade mglearn you'll probably fix the problem.

这篇关于使用 mglearn 绘制重复错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆