<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[GUI-O on Raspberry Pi 5]]></title><description><![CDATA[<p dir="auto">I have been following the example GUI-O and Boards - Raspberry Pi in order to install GUI-O onto my (new) RPi 5. (Details-Debian GNU/Linux , Version 12 Bookworm (aarch64))</p>
<p dir="auto">However, when trying to install the Python modules per the document ($ pip install paho-mqtt), I get the following error:<br />
"error: externally managed-environment<br />
This environment is externally managed<br />
To install Python packages system-wide, try apt install<br />
python3-xyz, where xyz is the package you are trying to<br />
install."</p>
<p dir="auto">So I tried $apt install python3-paho-mqtt that resulted in different errors (Could not open lock file .... , and Unable to acquire the dpkg frontend lock .....)</p>
<p dir="auto">I have no idea where to go from here and would appreciate if someone might be able to give me a clue what I should do!<br />
Has anyone successfully installed on RPi 5?<br />
Cheers Steve</p>
]]></description><link>https://forum.gui-o.com/topic/195/gui-o-on-raspberry-pi-5</link><generator>RSS for Node</generator><lastBuildDate>Fri, 06 Nov 2026 16:46:47 GMT</lastBuildDate><atom:link href="https://forum.gui-o.com/topic/195.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 04 May 2024 12:36:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to GUI-O on Raspberry Pi 5 on Wed, 08 May 2024 05:53:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/862">@SteveV</a></p>
<p dir="auto">No problem! Thanks for the feedback <img src="https://forum.gui-o.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=29eca934c85" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">If you have any more issues, feel free to ask!</p>
<p dir="auto">Best regards,<br />
Klemen</p>
]]></description><link>https://forum.gui-o.com/post/827</link><guid isPermaLink="true">https://forum.gui-o.com/post/827</guid><dc:creator><![CDATA[kl3m3n]]></dc:creator><pubDate>Wed, 08 May 2024 05:53:09 GMT</pubDate></item><item><title><![CDATA[Reply to GUI-O on Raspberry Pi 5 on Tue, 07 May 2024 23:16:47 GMT]]></title><description><![CDATA[<p dir="auto">Hi Klemen,<br />
Thank you so much for responding to my previous post.<br />
The change you suggested fixed the issue and I successfully completed the demo example.<br />
I appreciate your help (as I'm sure others do), especially in this 'initial' phase of learning new programs and new technologies.<br />
Your examples are extremely well thought out and easy to follow - unfortunately sometimes an error pops-up that stumps a 'newbie' like me and we need to call for your help!<br />
Best Regards<br />
Steve</p>
]]></description><link>https://forum.gui-o.com/post/826</link><guid isPermaLink="true">https://forum.gui-o.com/post/826</guid><dc:creator><![CDATA[SteveV]]></dc:creator><pubDate>Tue, 07 May 2024 23:16:47 GMT</pubDate></item><item><title><![CDATA[Reply to GUI-O on Raspberry Pi 5 on Tue, 07 May 2024 19:40:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/862">@SteveV</a> said in <a href="/post/824">GUI-O on Raspberry Pi 5</a>:</p>
<blockquote>
<p dir="auto">Unsupported callback API version: version 2.0 added a callback_api_version, see docs/migrations.</p>
</blockquote>
<p dir="auto">Hi, try changing:</p>
<p dir="auto">mqttClient = mqtt.Client(str(uuid.uuid4()))</p>
<p dir="auto">to:</p>
<p dir="auto">mqttClient = mqtt.Client(mqtt.CallbackAPIVersion.VERSION1, str(uuid.uuid4()))</p>
<p dir="auto">in <a href="http://RPiMqtt.py" rel="nofollow ugc">RPiMqtt.py</a>.</p>
<p dir="auto">Source:<br />
<a href="https://stackoverflow.com/questions/77984857/paho-mqtt-unsupported-callback-api-version-error" rel="nofollow ugc">https://stackoverflow.com/questions/77984857/paho-mqtt-unsupported-callback-api-version-error</a></p>
<p dir="auto">I will try to update the script ASAP.</p>
<p dir="auto">Best regards,<br />
Klemen</p>
]]></description><link>https://forum.gui-o.com/post/825</link><guid isPermaLink="true">https://forum.gui-o.com/post/825</guid><dc:creator><![CDATA[kl3m3n]]></dc:creator><pubDate>Tue, 07 May 2024 19:40:24 GMT</pubDate></item><item><title><![CDATA[Reply to GUI-O on Raspberry Pi 5 on Sun, 05 May 2024 09:24:57 GMT]]></title><description><![CDATA[<p dir="auto">Hi Ki3m3n,</p>
<p dir="auto">I progressed to step 4 in GUI-O and Boards - Raspberry Pi - Setting up Pi OS,<br />
and completed each step up to step 6 however, running the now modified <a href="http://RPiMqtt.py" rel="nofollow ugc">RPiMqtt.py</a> resulted in the following error response:</p>
<p dir="auto">////////////////////////////////<br />
slv05@raspberrypi:~/Projects/Mqtt $ python ./RPiMqtt.py<br />
Traceback (most recent call last):<br />
File "/home/slv05/Projects/Mqtt/./RPiMqtt.py", line 87, in &lt;module&gt;<br />
mqttClient = mqtt.Client(str(uuid.uuid4()))<br />
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br />
File "/home/slv05/.local/lib/python3.11/site-packages/paho/mqtt/client.py", line 772, in <strong>init</strong><br />
raise ValueError(<br />
ValueError: Unsupported callback API version: version 2.0 added a callback_api_version, see docs/migrations.rst for details<br />
slv05@raspberrypi:~/Projects/Mqtt $<br />
\\\\\\\\\\\\\\\\</p>
<p dir="auto">I didn't progress any further as I suspected things might go awry if the <a href="http://RPiMqtt.py" rel="nofollow ugc">RPiMqtt.py</a> wasn't working properly.</p>
<p dir="auto">Can you identify what the problem might be?</p>
<p dir="auto">I double checked the In and Out tokens within the modified <a href="http://RPiMqtt.py" rel="nofollow ugc">RPiMqtt.py</a> file on the RPi and all OK.</p>
<p dir="auto">Incidentally, what would have I seen on the RPi if the <a href="http://RPiMqtt.py" rel="nofollow ugc">RPiMqtt.py</a> had worked?</p>
]]></description><link>https://forum.gui-o.com/post/824</link><guid isPermaLink="true">https://forum.gui-o.com/post/824</guid><dc:creator><![CDATA[SteveV]]></dc:creator><pubDate>Sun, 05 May 2024 09:24:57 GMT</pubDate></item><item><title><![CDATA[Reply to GUI-O on Raspberry Pi 5 on Sun, 05 May 2024 09:10:07 GMT]]></title><description><![CDATA[<p dir="auto">Hi Kl3m3n,<br />
Thanks for your response.<br />
I had already done both this you suggested prior to my earlier post, however neither allowed installation of paho-mqtt.</p>
<p dir="auto">I checked the web for problem and found that if I used :-<br />
$ pip install paho-mqtt --break-system-packages</p>
<p dir="auto">the python modules successfully installed.<br />
Cheers</p>
]]></description><link>https://forum.gui-o.com/post/823</link><guid isPermaLink="true">https://forum.gui-o.com/post/823</guid><dc:creator><![CDATA[SteveV]]></dc:creator><pubDate>Sun, 05 May 2024 09:10:07 GMT</pubDate></item><item><title><![CDATA[Reply to GUI-O on Raspberry Pi 5 on Sat, 04 May 2024 14:49:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/862">@SteveV</a> Hi.</p>
<p dir="auto">First, try to reboot the RPi and retry.</p>
<p dir="auto">If this does not work, try running the commands with sudo, e.g.:</p>
<pre><code>sudo apt install python3-paho-mqtt
</code></pre>
<p dir="auto">Regards,<br />
Kl3m3n</p>
]]></description><link>https://forum.gui-o.com/post/822</link><guid isPermaLink="true">https://forum.gui-o.com/post/822</guid><dc:creator><![CDATA[kl3m3n]]></dc:creator><pubDate>Sat, 04 May 2024 14:49:40 GMT</pubDate></item></channel></rss>