Jupyter笔记本使用错误的shell

时间:2016-09-01 18:14:22

标签: jupyter-notebook

使用Anaconda时,打开Jupyter笔记本时会尝试使用我卸载的/ etc / fish shell。重新安装了Anaconda,仍然尝试使用鱼壳。

UK:Great Britain

我已经编辑/ etc / shells也没有包含对鱼的引用。

有没有办法编辑Jupyter首选项,或者我错过了其他的东西?

供参考:IPython qtconsole打开正常。

1 个答案:

答案 0 :(得分:0)

求助于:

卸载iTerm2,Anaconda,fish和zsh shell。 使用对fish和zsh的引用清除/ etc / shells文件

编辑终端(不是iTerm2)bash_profile和/.bashrc文件添加到文件顶部:

/.bashrc file:

export BASH_CONF="bash_profile"

/.bash_profile文件:

export BASH_CONF="bashrc"

重新安装Anaconda。