Pygame AttributeError: 'module' object has no attribute 'copy'
10,596
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.
Author by
user3576467
Updated on June 27, 2022Comments
-
user3576467 almost 2 years
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. -
Jiri Kriz almost 8 yearsThank you for this very helpful tip!
-
Cassio about 6 yearsOkay, this is genius finding. Thanks a lot!
-
isabella almost 4 yearsI had the same problem and I deleted the file named wrongly as copy.py. But the error still persists, do you have any idea? Thanks!
-
kapalkat over 3 yearsHey man, thank you soo much! I was trying to resolve that problem for couple of hours with no luck!