Bustercody3
Posts: 4
Joined: Wed Feb 19, 2020 10:49 pm

Rc522 RFID scanner gives Errno 2 error

Wed Feb 19, 2020 10:55 pm

I am using a raspberry pi 4 model b running the latest version of raspbian (2020-02-13). I followed this tutorial on how to use the rc522 RFID scanner with a raspberry pi: https://pimylifeup.com/raspberry-pi-rfid-rc522/ / https://www.youtube.com/watch?v=evRuZRxvPFI&t=172s .When I got to the point where I needed to run Write.py it gave me the error: python3: can’t open file ‘Write.py’ : [Errno 2] No such file or directory

Thank you for your time, and I hope you can help.

User avatar
topguy
Posts: 6527
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Rc522 RFID scanner gives Errno 2 error

Thu Feb 20, 2020 3:41 pm

Code: Select all

 python3: can’t open file ‘Write.py’ : [Errno 2] No such file or directory
This is not a very cryptic error it tells you clearly it cant find the file.

Either you created/edited a file with a different name by accident or you are not standing in the correct directory when you write the command.

Bustercody3
Posts: 4
Joined: Wed Feb 19, 2020 10:49 pm

Re: Rc522 RFID scanner gives Errno 2 error

Sat Feb 22, 2020 7:47 pm

I’m a beginner so I don’t understand most of this, but I solved the problem. However, now it will not recognize when I place an RFID tag on it. The tags came with the scanner. All my wires are set up correctly and are soldered properly. When I place the tag on it it will not write “Written” in the terminal. Any solutions?

Bustercody3
Posts: 4
Joined: Wed Feb 19, 2020 10:49 pm

Re: Rc522 RFID scanner gives Errno 2 error

Sat Feb 22, 2020 7:50 pm

Here is a picture of my setup:
Attachments
33D65666-4387-459B-ADAC-444E60290596.jpeg
33D65666-4387-459B-ADAC-444E60290596.jpeg (35.69 KiB) Viewed 99 times

Bustercody3
Posts: 4
Joined: Wed Feb 19, 2020 10:49 pm

Re: Rc522 RFID scanner gives Errno 2 error

Sun Feb 23, 2020 2:50 pm

I have now fixed in by installing the github repository pi-rfid from ondryaso.

Return to “Troubleshooting”