【发布时间】:2015-12-22 04:12:03
【问题描述】:
我收到以下错误消息
ImportError: cannot import name 'style'
当我跑步时
from matplotlib import style
我正在使用 ubuntu 并尝试使用 python3 和 python 运行它。
我安装了 matplotlib 版本 (1.3.1),这是 apt-get 安装的最新版本。我已经安装了 numpy 并使用 python3 安装了 matplotlib。没有喜悦。
有没有人遇到过同样的问题?
【问题讨论】:
-
matplotlib 1.4 中添加了样式模块。
标签: python ubuntu matplotlib