-
You need to create a virtual environment $ python3.10 -m venv venv
-
Activate virtual environment $ source venv/bin/activate
-
Install required packages $ pip install pyTelegramBotAPI==4.5.0 or $ python -m pip install pyTelegramBotAPI
In the 5th line of the bot.py file, you must specify the TOKEN of your telegram bot between quotes '...'