pip3 install jupyter
安装完jupyter后 无法执行jupyter命令
zsh: command not found: jupyter
解决办法:
-
执行
pip3 show jupyter
image.png
找到Location位置 -
编辑~/.zshrc
添加上面找到的Location 3.8目录下的bin目录到环境变量
export PATH=/Users/xxxxxxx/Library/Python/3.8/bin/:$PATH
- 配置生效
source ~/.zshrc
网友评论