0007_How to install Telegram-bot on Ubuntu Server 20.04

You may need to install additional components for your bot, but this configuration suits the most straightforward bot.

sudo apt update && sudo apt upgrade 
sudo apt install python3 
sudo apt install python3-pip 
sudo apt-get install python3-venv 
# Create a folder for a bot
mkdir tele-bot && cd tele-bot

# Create and activate the enviroment  
python3 -m venv venv
source venv/bin/activate

# Install a Telegram bot
pip3 install python-telegram-bot
# pip3 install python-telegram-bot --upgrade  
pip3 install pyTelegramBotAPI