This repository contains main.py (a Tkinter GUI app) and a Python virtual environment setup.
.venv/— virtual environment (created locally in the project)requirements.txt— runtime dependencies
Open PowerShell in the project folder and run:
# Allow script execution for this session (does not persist)
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process -Force
# Activate the venv
.\.venv\Scripts\Activate.ps1
# (optional) upgrade pip
python -m pip install --upgrade pip
# Run the app
python main.pyIf you prefer CMD (no execution policy change needed), run:
.\.venv\Scripts\activate.bat
python main.py- I installed the packages listed in
requirements.txtinto the.venvand ran a quick import test (customtkinter, cv2, numpy, Pillow, tkinterdnd2). The test printedIMPORTS_OKduring setup. - If you run into issues with
tkinteron Windows, ensure your Python installation includes Tcl/Tk (the official Windows installer does this by default).
If you want, I can:
- Pin exact package versions to
requirements.txt. - Create a small script to launch the app with better diagnostics.
- Add a
.gitignoreentry for.venvif you plan to commit the repo.