Answer the question
In order to leave comments, you need to log in
An error in the code, I can not understand in any way what is wrong. I myself am a beginner writing a Telegram bot on Python. What's wrong?
<Message = invalid syntax(__init__.py, line 463)
Источник = C:\Users\Admin\source\repos\BOTcomehere plsssss\BOTcomehere plsssss\BOTcomehere_plsssss.py
Трассировка стека:
File "C:\Users\Admin\source\repos\BOTcomehere plsssss\BOTcomehere plsssss\BOTcomehere_plsssss.py", line 1, in <module> (Current frame)
import telebot
Answer the question
In order to leave comments, you need to log in
There are several solutions here, most likely you just mixed up the package name during installation, pip install pyTelegramBotAPI. Sometimes you need to use the command through pip3, and much less often it is a development environment problem, let's say PyCharm or VSCode, basically they may not see that the library is installed, and you need to duplicate the installation command through the console INSIDE the development environment. Hope it helps.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question