Mac输入 python 打开 python3
往 .bash_profile
加入此配置
echo 'alias python="python3"' >> .bash_profile
调用 source ~/.bash_profile
生效配置
打开 open .zshrc
添加 source ~/.bash_profile
调用 source ~/.bash_profile
生效配置
有什么不同见解可以在评论区共同讨论
往 .bash_profile
加入此配置
echo 'alias python="python3"' >> .bash_profile
调用 source ~/.bash_profile
生效配置
打开 open .zshrc
添加 source ~/.bash_profile
调用 source ~/.bash_profile
生效配置