diff --git a/docs/installation.rst b/docs/installation.rst index aed389e62a..dd18c123d4 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -129,6 +129,12 @@ Before you work on your project, activate the corresponding environment: Your shell prompt will change to show the name of the activated environment. +PowerShell scripts such as the venv activation script are blocked by default in Windows. +To fix this, run the Set-ExecutionPolicy command to set the policy to AllSigned or another policy that allows scripts. +Learn more at `this Microsoft Learn page `_. + +.. _powershell: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-7.5 + Install Flask -------------