8

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.

3

1 Answer 1

24

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.

Sign up to request clarification or add additional context in comments.

2 Comments

I 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!
Hey man, thank you soo much! I was trying to resolve that problem for couple of hours with no luck!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.