在终端中运行cd命令会出现。env: python: No such file or directory

问题:因为MacOS Monterey 12.3 系统更新了自带的python问题

解决方案如下:

ln -s /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/bin/python3 /usr/local/bin/python3

ln -s -f /usr/local/bin/python3 /usr/local/bin/python

你可能感兴趣的:(在终端中运行cd命令会出现。env: python: No such file or directory)