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: 'module' object has no attribute 'copy'
-
13-07-2023 - |
Question
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.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow