Python activate.ps1 is not digitally signed. You cannot run this script on the current system.

& : File C:\Users\asish\source\repos\ReferencePython.env\Scripts\activate.ps1 cannot be loaded. The file
C:\Users\ asish \source\repos\ReferencePython.env\Scripts\activate.ps1 is not digitally signed. You cannot run this
script on the current system. For more information about running scripts and setting execution policy, see
about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:3

  • & c:/Users/a.punnose/source/repos/ReferencePython/.env/Scripts/activa …
  • ~~~~~~~~~~~~~~~
    • CategoryInfo : SecurityError: (:) [], PSSecurityException
    • FullyQualifiedErrorId : UnauthorizedAccess

Solution:- Execute Set-ExecutionPolicy Unrestricted -Force in Windows PowerShell at Administration rights

Add Comment