即使在创建.zshrc文件并从bash配置文件复制anaconda安装程序代码后也找不到jupyter

我最近更新到了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 <<<
fd1803 回答:即使在创建.zshrc文件并从bash配置文件复制anaconda安装程序代码后也找不到jupyter

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3127525.html

大家都在问