Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在机器人框架中安装白色库后,运行 'press special key' F12 关键字得到 AttributeError: 'NoneType' object has no attribute 'keyboard'。
您必须首先选择按键所在的窗口。这发生在“选择模式窗口”或“附加窗口”关键字中。您收到的错误表明尚未设置内部状态“self.state.Window”,因此您的 NoneType 异常。