Files
grigory_ai7m3/scheduler_bots/README.md
2026-01-15 08:39:04 +00:00

60 lines
1.1 KiB
Markdown

# Scheduler Bots
This directory contains Telegram scheduler bots that help manage schedules.
## Setup Instructions
1. Create a virtual environment:
```
python -m venv venv
```
2. Activate the virtual environment:
- On macOS/Linux: `source venv/bin/activate`
- On Windows: `venv\Scripts\activate`
3. 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:
1. Make sure you've activated the virtual environment:
```
source venv/bin/activate
```
2. Verify pandas is installed:
```
pip list | grep pandas
```
3. If not installed, install requirements:
```
pip install -r requirements.txt
```