PhoenixBot icon indicating copy to clipboard operation
PhoenixBot copied to clipboard

Powershell .env activation error with restricted permissions

Open salarsen opened this issue 4 years ago • 1 comments

Powershell does not allow .env to be activate if Activate.ps1 in the virtual environment folder is not provided corrected policy or permsisions.

Resolution, run within project folder prior to entering virtual environment command.

powershell -ExecutionPolicy Bypass -File ./env/scripts/Activate.ps1

TODO: Update readme instructions.

salarsen avatar Sep 24 '21 02:09 salarsen

You can also run Set-ExecutionPolicy RemoteSigned

jmesfo0 avatar Sep 27 '21 01:09 jmesfo0