AttributeError: module 'wx' has no attribute 'APP'
时间: 2023-09-27 11:11:34 浏览: 200
app.wxss
AttributeError: module 'wx' has no attribute 'APP' 这个错误说明在wx模块中没有名为'APP'的属性。根据引用和引用中的报错信息,可能是因为你在代码中使用了错误的属性名。正确的应该是'App'而不是'APP'。请确保在代码中使用正确的属性名并重新运行程序。另外,还要注意确保你的代码中没有重命名wx模块或者和其他同名的模块产生冲突。如果还是无法解决问题,请确保你已经正确安装了wxPython库,并且版本是兼容的。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Eclipse开发wxpython import wx 后出现红叉](https://blog.csdn.net/chenbo163/article/details/44896029)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [python错误:AttributeError: ‘module‘ object has no attribute ‘xxxxx‘,10种总结(成功解决)](https://blog.csdn.net/ywsydwsbn/article/details/108285052)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文