WeRoBot icon indicating copy to clipboard operation
WeRoBot copied to clipboard

AttributeError: module 'werobot' has no attribute 'WeRoBot'

Open chenhao017 opened this issue 2 years ago • 2 comments

  • 对 Bug 的描述

    • 当前行为:AttributeError: module 'werobot' has no attribute 'WeRoBot'
    • 正确的行为:
  • 环境

    • 平台:
    • WeRoBot 版本号:
    • Python 版本:
  • 复现代码或 repo 链接

from werobot import WeRoBot
robot = werobot.WeRoBot(token='123456')
报错:AttributeError: module 'werobot' has no attribute 'WeRoBot'

chenhao017 avatar Apr 20 '23 07:04 chenhao017

你是起了一个叫werobot.py的文件名吧

jasontan1985 avatar May 18 '23 07:05 jasontan1985

from werobot.robot import WeRobot

iyunya avatar Nov 22 '23 16:11 iyunya