Keep on getting very many errors for the script and don't know how to fix them

By the way, I started using some examples from the MFRC522 library, and they didn't work, and then I rewired my sensor and it turns out that the sensor wasn't wired properly to the board, but now it works just fine. Thanks for the help, guys!