【发布时间】:2021-11-29 15:10:46
【问题描述】:
我收到了AttributeError: module 'tweepy' has no attribute 'TweepError'。这是我在 Python 中的相关代码:
except tweepy.TweepError as e:
msg = 'Query failed when max_id equaled {0}: {1}'.format(max_id, e)
logging.error(msg)
我的其他带有 tweepy 的代码正在运行,所以我确定我已正确安装它,并且当前文档中似乎包含 tweep 错误。
【问题讨论】: