macbook 安装jupyter
小于 1 分钟
macbook 安装 jupyer
安装步骤
终端执行pip安装命令;
pip3 install jupyter
启动jupyter
jupyter notebook
如有以下报错:

则说明python的环境变量没有添加到 zsh 的配置文件中,把python的路径添加到zsh中即可首先查jupyter 安装信息
zsh介绍
zsh 和 bash 都是属于shell,但是比bash好用,拥有极其丰富的插件,强大
的自动补全参数、文件名以及自定义功能,可以大大提高linux效率。
而 .zshrc 是zsh的配置文件
pip3 show jupyter

找到python目录,拼出python的bin目录:
/Users/lee_mac/Library/Python/3.9/bin
在 ~ 目录下新建 .zshrc 文件,然后将python目录加进去。
touch ~/.zshrc
echo "export PATH=/Users/lee_mac/Library/Python/3.9/bin" >> ~/.zshrc
OK啦!!!
😆😆😆😆😆