brew安装python brew install python brew配置环境变量 https://www.jianshu.com/p/07494f169380 配置vscode中的python path 尽量使用F5调试,不用Run code