【问题标题】:Enthought PyLab/Canopy in Windows 8 - (Academic) missing matplotlibWindows 8 中的 Enthought PyLab/Canopy - (学术)缺少 matplotlib
【发布时间】:2013-10-04 23:06:57
【问题描述】:

我安装了 Canopy 的学术版,并在我的桌面上获得了 PyLab、Canopy 快捷方式。 当我尝试从桌面上的快捷方式运行 PyLab 时,我得到一个打开的命令窗口:

UserWarning: The top-level `frontend` package has been deprecated. All its subpackages have been moved to the top `IPython` level.
  warn("The top-level `frontend` package has been deprecated. "
Python 2.7.3 | 64-bit | (default, Aug  8 2013, 05:30:12) [MSC v.1500 64 bit (AMD64)]
Type "copyright", "credits" or "license" for more information.

IPython 1.1.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.
[TerminalIPythonApp] WARNING | Eventloop or matplotlib integration failed. Is matplotlib installed?  

奇怪的是,当我从命令行运行 python2.7 时,它会将 matplotlib 列为已安装。当我运行 Canopy 包管理器时,它说 matplotlib 1.3.0 已安装。

这里有什么问题? 谢谢

【问题讨论】:

  • 你安装了多个版本的python吗?看起来你的路径被弄脏了。

标签: python matplotlib enthought canopy


【解决方案1】:

抱歉,Pylab 快捷方式已通过 Canopy 1.1.1 中断。您可以手动编辑它(将目标路径中的“系统”替换为“用户”),或从开始菜单打开“Canopy 命令提示符”,然后输入ipython --pylab=qt

另请注意,Canopy GUI 应用程序本身中的 Python shell 面板默认以 Pylab 模式运行 Ipython QtConsole,这可能是运行 Pylab 的最简单方法,以及链接到该 Pylab 会话的编辑器。

【讨论】:

  • 您能否更具体地说明“此版本”是哪个版本,所以这个答案在几年后仍然很清楚?
  • 添加“通过 Canopy 1.1.1”
  • 谢谢。编辑快捷方式似乎已经解决了问题。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2013-12-10
  • 2013-04-15
  • 1970-01-01
  • 1970-01-01
  • 2023-04-06
  • 1970-01-01
  • 2013-06-01
相关资源
最近更新 更多