我最近更新到了macOS 10.15.1(Catalina),并切换到了zsh。然后,我无法从命令行启动jupyter notebook。 zsh找不到jupyter。也没有zshrc文件。所以我创建了一个,从我的bash_profile中添加了以下代码并保存了它。执行源.zshrc之后,我仍然收到错误-zsh:命令未找到:jupyter。我要去哪里错了?
# added by Anaconda3 2019.03 installer
# >>> conda init >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$(CONDA_REPORT_ERRORS=false '/anaconda3/bin/conda' shell.bash hook 2> /dev/null)"
if [ $? -eq 0 ]; then
\eval "$__conda_setup"
else
if [ -f "/anaconda3/etc/profile.d/conda.sh" ]; then
# . "/anaconda3/etc/profile.d/conda.sh" # commented out by conda initialize
CONDA_CHANGEPS1=false conda activate base
else
\export PATH="/anaconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda init <<<