<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: RFID and Raspberry PI: RC522 wiring and code with Python	</title>
	<atom:link href="https://peppe8o.com/rfid-and-raspberry-pi-rc522-wiring-and-code-with-python/feed/" rel="self" type="application/rss+xml" />
	<link>https://peppe8o.com/rfid-and-raspberry-pi-rc522-wiring-and-code-with-python/</link>
	<description>Raspberry PI, Arduino and Electronics made simple</description>
	<lastBuildDate>Sat, 02 Sep 2023 16:51:28 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		By: peppe8o		</title>
		<link>https://peppe8o.com/rfid-and-raspberry-pi-rc522-wiring-and-code-with-python/#comment-20973</link>

		<dc:creator><![CDATA[peppe8o]]></dc:creator>
		<pubDate>Wed, 30 Aug 2023 17:35:34 +0000</pubDate>
		<guid isPermaLink="false">https://peppe8o.com/?p=7359#comment-20973</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://peppe8o.com/rfid-and-raspberry-pi-rc522-wiring-and-code-with-python/#comment-20972&quot;&gt;Bruce Lunde&lt;/a&gt;.

Hi Brian,
if you use sudo for the python scripts executions, you should use sudo also for the pip3 line. So, there are 2 ways for you that should work:
1. Using sudo both for the pip3 command and Python execution:
&lt;code&gt;sudo pip3 install pi-rc522&lt;/code&gt;
&lt;code&gt;sudo python3 rfid-dump.py&lt;/code&gt;

OR

2.Not use sudo for both commands:
&lt;code&gt;pip3 install pi-rc522&lt;/code&gt;
&lt;code&gt;python3 rfid-dump.py&lt;/code&gt;

I hope this helps you to fix the error]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://peppe8o.com/rfid-and-raspberry-pi-rc522-wiring-and-code-with-python/#comment-20972">Bruce Lunde</a>.</p>
<p>Hi Brian,<br />
if you use sudo for the python scripts executions, you should use sudo also for the pip3 line. So, there are 2 ways for you that should work:<br />
1. Using sudo both for the pip3 command and Python execution:<br />
<code>sudo pip3 install pi-rc522</code><br />
<code>sudo python3 rfid-dump.py</code></p>
<p>OR</p>
<p>2.Not use sudo for both commands:<br />
<code>pip3 install pi-rc522</code><br />
<code>python3 rfid-dump.py</code></p>
<p>I hope this helps you to fix the error</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Bruce Lunde		</title>
		<link>https://peppe8o.com/rfid-and-raspberry-pi-rc522-wiring-and-code-with-python/#comment-20972</link>

		<dc:creator><![CDATA[Bruce Lunde]]></dc:creator>
		<pubDate>Wed, 30 Aug 2023 16:49:05 +0000</pubDate>
		<guid isPermaLink="false">https://peppe8o.com/?p=7359#comment-20972</guid>

					<description><![CDATA[After completing and checking the results of each step above, I get an error:
&lt;code&gt; sudo python3 rfid-dump.py
Traceback (most recent call last):
  File &quot;/home/mark/pi-rfid/rfid-dump.py&quot;, line 27, in 
    from pirc522 import RFID
ModuleNotFoundError: No module named &#039;pirc522&#039;&lt;/code&gt;

But the library shows installed:

&lt;code&gt; pip3 install pi-rc522
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pi-rc522
  Downloading https://www.piwheels.org/simple/pi-rc522/pi_rc522-2.2.1-py3-none-any.whl (6.6 kB)
Requirement already satisfied: RPi.GPIO in /usr/lib/python3/dist-packages (from pi-rc522) (0.7.0)
Requirement already satisfied: spidev in /usr/lib/python3/dist-packages (from pi-rc522) (3.5)
Installing collected packages: pi-rc522
Successfully installed pi-rc522-2.2.1&lt;/code&gt;]]></description>
			<content:encoded><![CDATA[<p>After completing and checking the results of each step above, I get an error:<br />
<code> sudo python3 rfid-dump.py<br />
Traceback (most recent call last):<br />
  File "/home/mark/pi-rfid/rfid-dump.py", line 27, in<br />
    from pirc522 import RFID<br />
ModuleNotFoundError: No module named 'pirc522'</code></p>
<p>But the library shows installed:</p>
<p><code> pip3 install pi-rc522<br />
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple<br />
Collecting pi-rc522<br />
  Downloading https://www.piwheels.org/simple/pi-rc522/pi_rc522-2.2.1-py3-none-any.whl (6.6 kB)<br />
Requirement already satisfied: RPi.GPIO in /usr/lib/python3/dist-packages (from pi-rc522) (0.7.0)<br />
Requirement already satisfied: spidev in /usr/lib/python3/dist-packages (from pi-rc522) (3.5)<br />
Installing collected packages: pi-rc522<br />
Successfully installed pi-rc522-2.2.1</code></p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
