2014-04-24 215 views
0

我無法啓動ipython筆記本。我在命令提示符下使用了命令「ipython notebook」,但是我收到了一個錯誤,提示「ipython」不能被識別爲命令。我有Python 3.3和ipython 1.2.1。這個命令在我的其他Windows機器上工作,我使用相同的過程來安裝ipython。唯一的區別是我在其他Windows機器上使用Python 2.7。我覺得有一個非常簡單的修復方法,或者我犯了一個愚蠢的錯誤。有任何想法嗎?ipython筆記本未啓動

編輯: 我在下面的評論中嘗試了ThomasK的建議,並收到下圖中顯示的以下錯誤。

Ipython notebook error on call

+0

試試'ipython3 notebook'。或者升級到IPython 2.0,它會在Python 3上安裝'ipython'和'ipython3'。 –

+0

我試過ipython3筆記本,我試着升級到Iptyhon 2.0。仍然沒有運氣。 – jaromey

+0

IPython可能不在你的'%PATH%'上。你可以做'py -m IPython'嗎? –

回答

1

轉貼作爲一個答案:

看起來你沒有安裝pyzmq做。您可以使用pip或exe安裝程序進行安裝。但可能還有其他的東西,你沒有設置。我們推薦下載Anaconda之類的東西,其中包含所有必要的軟件包。如果你想使用Python 3,你可以嘗試類似的Pyzo。

1

在撰寫時,獲取這些消息是正常的。這隻意味着你錯過了一些python軟件包。我建議安裝它們如下:pip install --user [package]。其他它可能會抱怨的列表here

jinja2, needed for the notebook 
sphinx, needed for nbconvert 
pyzmq, needed for IPython’s parallel computing features, qt console and notebook 
pygments, used by nbconvert and the Qt console for syntax highlighting 
tornado, needed by the web-based notebook 
nose, used by the test suite