$>./configure --prefix=/Users/xxx/.nvm/versions/node/v12.22.12 <
./configure: line 3: exec: python: not found
nvm: install v12.22.12 failed!
结果办法: 1 找到控制台app,右键产看简介
勾选Rosetta
2 python3 命名 python
echo "alias python=/usr/bin/python3" >> ~/.zshrc
source ~/.zshrc
echo "alias python=/usr/bin/python3" >> ~/.bash_profile
source ~/.bash_profile