Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pygame AttributeError: 'module' object has no attribute '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.

like image 442
user3576467 Avatar asked May 02 '14 00:05

user3576467


1 Answers

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.

like image 175
tao zhan Avatar answered Sep 30 '22 17:09

tao zhan