vscode中的python.pythonPath更改为自己选定的版本,但是并没有按照写的版本去执行。
python.pythonPath
然后在.zshrc中添加了
alias python=/usr/local/bin/python3
就Ok了!