Answer the question
In order to leave comments, you need to log in
AttributeError: module 'telebot' has no attribute 'TeleBot' ( telebot )?
Wrote a bot, uploaded it to pythonanywhere.com, writes an error
Traceback (most recent call last):
File "/home/OIHDOIHOIDSD/bottg/bot.py", line 7, in
bot = telebot.TeleBot(token)
AttributeError: module 'telebot' has no attribute 'TeleBot'
import telebot
# connecting
token='token'
bot = telebot.TeleBot(token)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question