title: How to fix Error: [Errno 2] No such file or directory: 'C:\\Program Files\\Python37\\lib\\venv\\scripts\\nt\\python_d.exe'
body: <p>I'm using the latest version of Python on Windows and I'm trying to use <code>venv</code> with the following code:</p>
  
  <pre><code>C:\envs&gt; py -m venv test
  </code></pre>
  
  <p>Even if it actually creates the <code>venv</code>, it returns this error and I don't understand why. 
  Moreover I can't activate the <code>venv</code>, the code</p>
  
  <pre><code>C:\envs&gt; C:\envs\test\Scripts\activate.bat
  </code></pre>
  
  <p>returns</p>
  
  <blockquote>
    <p>"C:\envs\test\Scripts\activate.bat" is not recognized as an internal or external command, operable program or batch file.</p>
  </blockquote>