BYU logo Computer Science

Windows terminal setup

If you have a Windows computer, you need to follow these steps so that you can run Python scripts in the terminal.

(1) Run PowerShell as administrator by searching for Powershell in the Start menu and then clicking Run as administrator:

running PowerShell as administrator

(2) Run this command in the terminal:

set-executionpolicy remotesigned

Type Y when prompted and then Enter.

(3) Close PowerShell.