title: How to run python3 code in VSCode? /bin/sh: 1: python: not found
body: <p>I'm trying to run a python file in VSCode using python3.</p>
  
  <p>I know I can fix by simply setting to run using <strong>integrated terminal</strong> like it says in the <a href="https://code.visualstudio.com/docs/python/python-tutorial" rel="noreferrer">microsoft vscode tutorial</a> on python. However, I would like the program to print in the <strong>output tab</strong> and not take up the terminal window.</p>
  
  <p><a href="https://i.stack.imgur.com/Kw7vc.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Kw7vc.png" alt="enter image description here"></a></p>
  
  <p>The standard coder runner <code>launch.json</code> looks like this;</p>
  
  <pre><code>"version": "0.2.0",
  "configurations": [
      {
          "name": "Python: Current File",
          "type": "python",
          "request": "launch",
          "program": "${file}",
          "console": "integratedTerminal"
      }
  ]
  </code></pre>
  
  <p>I've tried to set my python path in VSCode in <code>settings.json</code></p>
  
  <pre><code>...
  "python.pythonPath": "python3",
  "code-runner.executorMap": {
      "python3": "/usr/bin/python3"
  }
  </code></pre>
  
  <p>I've also set an alias for python -> python3 (as my ubuntu 20.04 doesn't come with python2 anymore)</p>
  
  <pre><code>alias python="python3"
  </code></pre>
  
  <p>However, I keep getting the above error. Any Ideas?</p>