Pygame AttributeError: 'module' object has no attribute 'copy'

大城市里の小女人 提交于 2020-07-18 16:14:27

问题


I encountered Error: 'module' object has no attribute 'copy' while running a pygame program. In my code, I never referred to a copy attribute, so I don't understand where the error is coming from.


回答1:


I think there is a python file named "copy" in your directory. I had the same problem, after I delete the "copy" file, the error has gone.



来源:https://stackoverflow.com/questions/23418949/pygame-attributeerror-module-object-has-no-attribute-copy

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!