generated from technolyceum/ai7-m3
Scheduler Bots
This directory contains Telegram scheduler bots that help manage schedules.
Setup Instructions
-
Create a virtual environment:
python -m venv venv -
Activate the virtual environment:
- On macOS/Linux:
source venv/bin/activate - On Windows:
venv\Scripts\activate
- On macOS/Linux:
-
Install required packages:
pip install -r requirements.txt
Running the bots
Method 1: Using Python command (Recommended)
python telegram_scheduler_v1.py
or
python telegram_scheduler_v2.py
Method 2: Direct execution
Make sure you've activated the virtual environment first:
source venv/bin/activate # On macOS/Linux
./telegram_scheduler_v1.py
or
./telegram_scheduler_v2.py
Troubleshooting
If you encounter "pandas library not found" error:
-
Make sure you've activated the virtual environment:
source venv/bin/activate -
Verify pandas is installed:
pip list | grep pandas -
If not installed, install requirements:
pip install -r requirements.txt