Strip3s / PhoenixBot

Phoenix Bot - A Bird Bot Resurrection
MIT License
262 stars 111 forks source link

Powershell .env activation error with restricted permissions #147

Open salarsen opened 2 years ago

salarsen commented 2 years ago

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.

jmesfo0 commented 2 years ago

You can also run Set-ExecutionPolicy RemoteSigned