Answer the question
In order to leave comments, you need to log in
Need help with an error when creating a bot in Python?
When running the code on the command line, it gives:
Traceback (most recent call last):
File "C:\Python\telebot.py", line 1, in
import telebot
File "C:\Python\telebot.py", line 3, in
bot = telebot.TeleBot("TOKEN")
AttributeError: partially initialized module 'telebot' has no attribute 'TeleBot' (most likely due to a circular import
) most likely due to circular imports).
Can you chew, if not difficult?
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