0
0 Комментариев

Код:

import telebot
import tok
 
bot = telebot.TeleBot(tok.token)
 
bot.send_message(198175574, "test")

Ошибки:

Traceback (most recent call last):
  File "B:/Program Files/pyCharm/new1/kek1.py", line 1, in <module>
    import telebot
 
File "B:\Program Files\python\lib\site-packages\telebot\__init__.py", line 4, in <module>
    import threading
 
 File "B:\Program Files\python\lib\threading.py", line 7, in <module>
    from traceback import format_exc as _format_exc
 
File "B:\Program Files\python\lib\traceback.py", line 5, in <module>
    import linecache
 
File "B:\Program Files\python\lib\linecache.py", line 11, in <module>
    import tokenize
 
 File "B:\Program Files\python\lib\tokenize.py", line 41, in <module>
    __all__ = token.__all__ + ["COMMENT", "tokenize", "detect_encoding",
AttributeError: module 'token' has no attribute '__all__'

Помогите чайнику :(


Добавить комментарий