1

嘿,我需要有关此 python 错误的帮助:

File "bot.py", line 3, in <module>
    import telepot
File "/home/lee/venv/telegram/local/lib/python2.7/site-packages/telepot/__init__.py", line 220, in <module>
    from . import helper
File "/home/lee/venv/telegram/local/lib/python2.7/site-packages/telepot/helper.py", line 7, in <module>
    import inspect
File "/usr/lib/python2.7/inspect.py", line 39, in <module>
    import tokenize
File "/usr/lib/python2.7/tokenize.py", line 39, in <module>
    COMMENT = N_TOKENS

僵尸软件

import telepot


bot = telepot.Bot('<bot_token>')
print bot.getMe()

from pprint import pprint
response = bot.getUpdates()
pprint(response)

此错误是由于导入任何电报 python 模块而引起的。所有帮助将不胜感激。

4

0 回答 0