title: VS code terminal : Activate.ps1 cannot be loaded because running scripts is disabled on this system
body: <p>I created a virtual environment in python, now while activating the same from my command line in vscode I am getting the error</p>
  <pre><code>PS C:\Users\hpoddar\Desktop\WebDev\ReactComplete\DjangoReact\ArticlesApp\APIProject&gt; ..\venv\scripts\activate    
  ..\venv\scripts\activate : File C:\Users\hpoddar\Desktop\WebDev\ReactComplete\DjangoReact\ArticlesApp\venv\scripts\Activate.ps1 cannot be loaded because running 
  scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
  At line:1 char:1
  + ..\venv\scripts\activate
  + ~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : SecurityError: (:) [], PSSecurityException
      + FullyQualifiedErrorId : UnauthorizedAccess
  </code></pre>
  <p>This is my project structure</p>
  <p><a href="https://i.stack.imgur.com/GLZF9.png" rel="noreferrer"><img src="https://i.stack.imgur.com/GLZF9.png" alt="enter image description here" /></a></p>
  <p>However if I activate the same from my command line, it works without any error.</p>
  <p>Python version : 3.9.2</p>
  <p><a href="https://i.stack.imgur.com/1hZBH.png" rel="noreferrer"><img src="https://i.stack.imgur.com/1hZBH.png" alt="enter image description here" /></a></p>