skip to Main Content

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)

2

Answers


  1. For Windows, in Command Prompt (Admin) try to run pip install using the Python executable:

    python -m pip install pyTelegramBotAPI
    
    Login or Signup to reply.
  2. 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…

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search