tag:blogger.com,1999:blog-4717269872457503530.post7326861720183744462..comments2025-12-18T05:23:00.612-05:00Comments on Raspberry Pi Python Adventures: Raspberry Pi 2 and RPi.GPIO...Francois Dionhttp://www.blogger.com/profile/10442105466634552900noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-4717269872457503530.post-16909558682832819522015-10-28T14:36:32.184-04:002015-10-28T14:36:32.184-04:00i installed rpio from git, it works now. From thi...i installed rpio from git, it works now. From this pythonhosted.org/RPIO.Anonymoushttps://www.blogger.com/profile/11385381731630427132noreply@blogger.comtag:blogger.com,1999:blog-4717269872457503530.post-53564463074238790972015-10-28T10:07:47.110-04:002015-10-28T10:07:47.110-04:00RPIO hasn&#39;t been updated in two years, so it d...RPIO hasn&#39;t been updated in two years, so it doesn&#39;t know about the Pi 2. The instructions here are for RPi.GPIO, a different module. The code for RPIO is here:<br /><br />https://github.com/metachris/RPIO<br /><br />It will need several changes to support the Pi 2. I would recommend to contact the author and open a bug on that github page.Francois Dionhttps://www.blogger.com/profile/10442105466634552900noreply@blogger.comtag:blogger.com,1999:blog-4717269872457503530.post-48507997609057465622015-10-28T03:56:48.636-04:002015-10-28T03:56:48.636-04:00i have the same problem roberti have the same problem robertAnonymoushttps://www.blogger.com/profile/11385381731630427132noreply@blogger.comtag:blogger.com,1999:blog-4717269872457503530.post-89084923943374691792015-07-23T03:04:31.473-04:002015-07-23T03:04:31.473-04:00I just did all of that and get this result robert...I just did all of that and get this result<br /><br />robert@MAGPIE /tmp $ rpio<br />Script not started as root. Running sudo...<br />Traceback (most recent call last):<br /> File &quot;/usr/local/bin/rpio&quot;, line 5, in <br /> pkg_resources.run_script(&#39;RPIO==0.10.1&#39;, &#39;rpio&#39;)<br /> File &quot;/usr/lib/python2.7/dist-packages/pkg_resources.py&quot;, line 499, in run_script<br /> self.require(requires)[0].run_script(script_name, ns)<br /> File &quot;/usr/lib/python2.7/dist-packages/pkg_resources.py&quot;, line 1235, in run_script<br /> execfile(script_filename, namespace, namespace)<br /> File &quot;/usr/local/lib/python2.7/dist-packages/RPIO-0.10.1-py2.7-linux-armv7l.egg/EGG-INFO/scripts/rpio&quot;, line 353, in <br /> main()<br /> File &quot;/usr/local/lib/python2.7/dist-packages/RPIO-0.10.1-py2.7-linux-armv7l.egg/EGG-INFO/scripts/rpio&quot;, line 147, in main<br /> import RPIO<br /> File &quot;/usr/local/lib/python2.7/dist-packages/RPIO-0.10.1-py2.7-linux-armv7l.egg/RPIO/__init__.py&quot;, line 115, in <br /> import RPIO._GPIO as _GPIO<br />SystemError: This module can only be run on a Raspberry Pi!<br /><br /><br />still.emueyeshttps://www.blogger.com/profile/05499662955085843970noreply@blogger.com