title: VSCode on discover tests Error: spawn python ENOENT
body: <p>I am running a python project in vscode with <code>virtualenv</code>. Python interpreter is set right. When I'm trying to discover tests it gives me an error saying</p>
  
  <pre><code>python /Users/user/.vscode/extensions/ms-python.python-2019.10.44104/pythonFiles/testing_tools/run_adapter.py discover pytest -- -s project/
  Test Discovery failed: 
  Error: spawn /Users/&lt;username&gt;/apps/project/venv/bin/python ENOENT
  </code></pre>
  
  <p>My vscode settings.json looks something like this and I haven't configured launch.json</p>
  
  <pre><code>{
      "python.pythonPath": "/Users/&lt;username&gt;/apps/project/venv/bin/python",
      "python.testing.unittestEnabled": false,
      "python.testing.nosetestsEnabled": false,
      "python.testing.pytestEnabled": true,
      "python.testing.pytestArgs": [
          "project"
      ],
  }
  </code></pre>
  
  <p>When I just type <code>/Users/&lt;username&gt;/apps/project/venv/bin/python</code> on terminal python shell opens up.</p>
  
  <p>ENOENT Generally means that it's an invalid path, but the path seems perfectly fine.</p>
  
  <pre><code>$echo $PATH
  /Users/&lt;username&gt;/apps/project/venv/bin
  </code></pre>