I am quite confuse as I tried to install it using the command $ pip install pyTelegramBotAPI on VS terminal but it does not seem to work https://i.stack.imgur.com/ZYXMA.png (image of the error), I tried looking up for telegrambot extension but could not any in VS. Please guide me through. Thank you ~ I really want to import telebot but it does not work till I install it ( i assume)
Question posted in Telegram API
A comprehensive official documentation can be found here.
A comprehensive official documentation can be found here.
2
Answers
For Windows, in Command Prompt (Admin) try to run pip install using the Python executable:
You have the wrong information or copied the wrong symbol here.
"$" it means linux bash. Don’t copy that.
Do you use windows:
press Win key. type cmd Enter type *pip install pytelegrambotapi hi Enter
Everything will be OK.
If linux.
User virtualenv
sudo apt-get install -y python3-venv
python3 -m venv
source binactivate
pip install pytelegrambotapi
OKKK. have fun. linux have some problems with pytelegrambotapi so just use virtualenv. To deactivate type deactivate or source bindeactivate.
Later…