- Open your browser and go to https://www.python.org/downloads/.
- Download the latest Windows installer (choose the 64-bit executable).
- Run the installer and check “Add Python X.X to PATH” at the bottom.
- Click Install Now.
- When finished, open PowerShell and verify:
python --version
pip --versionYou should see Python and pip versions.
If activation fails due to execution policy, run in the same PowerShell session:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope ProcessThis only affects the current window.
Open PowerShell in the project folder and run:
# create & activate venv
python -m venv venv
.\venv\Scripts\Activate.ps1
# install deps
pip install --upgrade pip
pip install pillow numpy
# run the batch
.\run.batIf Activate.ps1 errors, use:
.\venv\Scripts\activate.bat(from CMD) or run the Set-ExecutionPolicy command above.
- If
pythonnot found after install, either re-open PowerShell or ensure Add Python to PATH was checked during install. - If
pipmissing, runpython -m ensurepip --upgradethenpython -m pip install --upgrade pip. - If
run.batneeds venv python but you double-clicked it, it may use system python — prefer running.\run.batfrom the activated PowerShell.