【Mac】zsh: command not found: python
作者:互联网
1、现象
2、原因
因为只有python3
3、处理
MacBook-Pro ~ % echo "alias python=/usr/bin/python3" >> ~/.zshrc MacBook-Pro ~ % source ~/.zshrc MacBook-Pro ~ % echo "alias python=/usr/bin/python3" >> ~/.bash_profile MacBook-Pro ~ % source ~/.bash_profile
参考链接:
https://zhuanlan.zhihu.com/p/129793857
标签:profile,python,Pro,echo,Mac,command,MacBook,python3 来源: https://www.cnblogs.com/fireblackman/p/16424744.html