Pygame AttributeError:“模块"对象没有属性“复制" [英] Pygame AttributeError: 'module' object has no attribute 'copy'
本文介绍了Pygame AttributeError:“模块"对象没有属性“复制"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在运行pygame程序时遇到了Error: 'module' object has no attribute 'copy'
.在我的代码中,我从未提及过copy属性,因此我不明白错误的出处.
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.
推荐答案
我认为您的目录中有一个名为"copy"的python文件.我遇到了同样的问题,在删除复制"文件后,错误消失了.
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.
这篇关于Pygame AttributeError:“模块"对象没有属性“复制"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文