【Mac】终端使用pip3 install jupyter命令安装jupyter noteboo时,提示zsh: command not found: jupyter

【Mac】终端使用pip3 install jupyter命令安装jupyter noteboo时,提示zsh: command not found: jupyter
【Mac】终端使用pip3 install jupyter命令安装jupyter noteboo时,提示zsh: command not found: jupyter
解决办法:
1、找到jupyter的安装位置

pip3 show jupyter

【Mac】终端使用pip3 install jupyter命令安装jupyter noteboo时,提示zsh: command not found: jupyter
根据location可以找到jupyter的位置/Users/wangyajing/Library/Python/3.8/bin
2、vim编写

vim ~/.zshrc 
export PATH=/Users/wangyajing/Library/Python/3.8/bin/:$PATH

结束后输入:wq并回车退出编辑
3、载入命令并启动jupyter notebook

source .zshrc
jupyter notebook

【Mac】终端使用pip3 install jupyter命令安装jupyter noteboo时,提示zsh: command not found: jupyter

上一篇:tmux中的vim无法多彩高亮显示关键字


下一篇:vim编辑器删除空行