Skip to content

yiungyiung/Cyber-Security-project

Repository files navigation

1) Install Python

A — Recommended: Install from python.org (GUI)

  1. Open your browser and go to https://www.python.org/downloads/.
  2. Download the latest Windows installer (choose the 64-bit executable).
  3. Run the installer and check “Add Python X.X to PATH” at the bottom.
  4. Click Install Now.
  5. When finished, open PowerShell and verify:
python --version
pip --version

You should see Python and pip versions.


2) Allow venv activation in PowerShell (if needed)

If activation fails due to execution policy, run in the same PowerShell session:

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process

This only affects the current window.


3) Now follow (from your project folder)

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.bat

If Activate.ps1 errors, use:

.\venv\Scripts\activate.bat

(from CMD) or run the Set-ExecutionPolicy command above.


Quick troubleshooting

  • If python not found after install, either re-open PowerShell or ensure Add Python to PATH was checked during install.
  • If pip missing, run python -m ensurepip --upgrade then python -m pip install --upgrade pip.
  • If run.bat needs venv python but you double-clicked it, it may use system python — prefer running .\run.bat from the activated PowerShell.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors