【問題現(xiàn)象】:
【處理方法】:
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
【 參考鏈接】:文章來源:http://www.zghlxwxcb.cn/news/detail-524123.html
https://www.cnblogs.com/fireblackman/p/16424744.html文章來源地址http://www.zghlxwxcb.cn/news/detail-524123.html
到了這里,關(guān)于[macOS] zsh:command not found: python問題解決的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!