2016-09-01 52 views
0

使用Anaconda打開Jupyter筆記本時,它嘗試使用我已卸載的/ etc/fish外殼。重新安裝Anaconda,並且仍然嘗試使用魚殼。Jupyter Notebook使用錯誤的外殼

[Command not found: /bin/fish] 

[Could not create a new process and open a pseudo-tty.] 

我編輯了/ etc/shells以不包含對魚的引用。

有沒有辦法編輯Jupyter偏好設置,還是我缺少別的東西?

僅供參考:IPython qtconsole打開狀態良好。

卸載iTerm2,蟒蛇,魚和貝殼的zsh:

+0

這是筆記本界面內的終端嗎?如果是這樣,我認爲它看着你的'$ SHELL'環境變量。 –

+0

否從Continuum導航器頁面打開筆記本電腦。 – ratchet

+0

我不熟悉那個頁面;我不知道爲什麼它會調用一個shell。 –

回答

0

所解決。 清理/ etc/shells中有提及魚和zsh的

編輯終端(未iTerm2)的.bash_profile和/.bashrc文件增加文件的頂部文件:

/.bashrc文件:

export BASH_CONF="bash_profile" 

/.bash_profile文件:

export BASH_CONF="bashrc" 

重新安裝蟒蛇。