After the refactoring, the application requires dependencies to be installed. You have several options:
./run.shThis automatically activates the virtual environment and runs the application.
# Activate the virtual environment
source venv/bin/activate
# Run the application
python email_deleter.py
# When done, deactivate
deactivate./venv/bin/python email_deleter.pyIf the venv directory doesn't exist, set it up first:
# Create virtual environment
python3 -m venv venv
# Activate it
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Now run the application
python email_deleter.pyThis means you're running with system Python instead of the virtual environment.
Solution: Use one of the options above that activate the virtual environment.
Run the first-time setup instructions above.
source venv/bin/activate
pip install --upgrade -r requirements.txtThe virtual environment keeps project dependencies isolated from your system Python. This prevents version conflicts and makes the project portable.
If you want to install system-wide (not recommended):
pip install --user -r requirements.txt
python email_deleter.pyNote: This may conflict with other Python projects on your system.