I
I
infinity infinite2019-09-30 10:52:55
Python
infinity infinite, 2019-09-30 10:52:55

Why is it throwing an error in Python?

module 'telebot' has no attribute 'Telebot'
everything is done as in the tutorial video, but when I run the telegram bot that repeats everything you write, such an error is generated, but somewhere a month ago I used it but it worked then help me solve this problem
ptyhon version: 3.7.4

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ruslan., 2019-09-30
@infinity112

A similar problem is described here.
https://github.com/eternnoir/pyTelegramBotAPI/issu...
Perhaps it's all about case-sensitive names:
OMG! I was so blind... "has no attribute 'Telebot'... but has 'TeleBot'
Same problem omg
I fixed this with 'TeleBot' instead of
Telebot

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question