赞
踩
python安装后,终端查询出现"zsh: command not found: python"
解决办法:将python添加到zsh
1.在终端输入
echo "alias python=/usr/local/bin/python3" >> ~/.zshrc
路径修改为自己的安装路径
重启终端后查看
python --version