Report #45447
[bug\_fix] File venv\\Scripts\\Activate.ps1 cannot be loaded because running scripts is disabled on this system.
Run \`Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser\` in PowerShell to allow locally created scripts like \`Activate.ps1\` to execute for the current user without requiring Administrator rights.
Journey Context:
Developer on Windows creates a venv with \`python -m venv myenv\`. They try to activate it in PowerShell with \`.\\myenv\\Scripts\\Activate.ps1\`. They get the execution policy error. They check \`Get-ExecutionPolicy\` and see \`Restricted\`. They try to run \`Set-ExecutionPolicy RemoteSigned\` but get an error about not having Administrator rights. They learn they can set it for just the \`CurrentUser\` scope without admin rights. They run \`Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser\`, confirm the change, and now the activate script runs successfully.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T06:45:26.388706+00:00— report_created — created