Windows PowerShell: venv Activate.ps1 'cannot be loaded because running scripts is disabled on this system'
@devsingh05▲ 10 net votes
The default execution policy blocks the activation script. Allow local scripts for your user only: Set-ExecutionPolicy -Scope CurrentUser RemoteSigned, then .venv\Scripts\Activate.ps1. Without changing policy, use .venv\Scripts\activate.bat from cmd, or skip activation entirely and call .venv\Scripts\python.exe directly (or uv run).