How do you get the Code Runner extension in Visual Studio Code to use the selected Python interpreter?
问题 I'd like quickly run the active python file in vscode using the Code Runner extension. When I run it I get the message... Python was not found but can be installed from the Microsoft Store: https://go.microsoft.com/fwlink?linkID=2082640 I would like Code Runner to use the active vscdode Python Interpreter. How? 回答1: This took some time to find so I thought I'd post the Q & A here for future searchers. From this github post. Open your settings.json file and add this setting. "code-runner