0

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 がインストールされていると表示されます。

ここで何が問題なのですか?ありがとう

4

1 に答える 1

1

申し訳ありませんが、Pylab ショートカットは Canopy 1.1.1 で壊れています。手動で編集するか (ターゲット パスの「システム」を「ユーザー」に置き換えます)、または [スタート] メニューから「Canopy コマンド プロンプト」を開き、次のように入力します。ipython --pylab=qt

また、Canopy GUI アプリケーション自体の Python シェル パネルは、デフォルトで Pylab モードで Ipython QtConsole を実行することに注意してください。これはおそらく、その Pylab セッションにリンクされているエディターと一緒に Pylab を実行する最も簡単な方法です。

于 2013-10-05T00:59:16.507 に答える