http://pythonhosted.org/RPIO/index.html
When I execute the code I get a error
SystemError: This module can only be run on a Raspberry Pi!
What is the reason for this kind of error. I'm using the raspberry pi 2 with raspbian installed.
Won't help him with RPIO.GPIO.DougieLawson wrote:You need to scrub all old versions of RPi.GPIO from your system and install the latest version.
...
Oh dear, I didn't spot he was using that ancient pile of cobwebware.joan wrote:Won't help him with RPIO.GPIO.DougieLawson wrote:You need to scrub all old versions of RPi.GPIO from your system and install the latest version.
...
The official RPIO.GPIO fork has not yet been updated for the Pi2. If you go to github you will find a fork which has been updated, i.e. https://github.com/tylerwowen/RPIO
pigpio has no built-in support for debounce (other OP thread) so it will have to be RPi.GPIO.DougieLawson wrote: ...
switch to RPi.GPIO or to Joan's excellent pigpio/pigiod (which both work on ALL raspberries).
Is it possible to use multiple PWM pins in RPI.GPIO and I also wan to use debounce so what is the best solution.joan wrote:pigpio has no built-in support for debounce (other OP thread) so it will have to be RPi.GPIO.DougieLawson wrote: ...
switch to RPi.GPIO or to Joan's excellent pigpio/pigiod (which both work on ALL raspberries).
RPi.GPIO is software PWM. So the servos will be erratic.Andre_Leonardo wrote: ...
Is it possible to use multiple PWM pins in RPI.GPIO and I also wan to use debounce so what is the best solution.
RPIO isn't it good to use, Is there issues with that, I saw in the documentation it gives PWMs to 1us accuratelyjoan wrote:
RPi.GPIO is software PWM. So the servos will be erratic.
The best solution is for you to make an attempt at adding debounce to your existing code.
Code: Select all
root@rpi /opt/voda # uname -a
Linux rpi 4.4.21-v7+ #911 SMP Thu Sep 15 14:22:38 BST 2016 armv7l GNU/LinuxCode: Select all
root@rpi /opt/voda # apt-get install python-setuptools
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-setuptools is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.Code: Select all
root@rpi /opt/voda # easy_install -U RPIO
Searching for RPIO
Reading https://pypi.python.org/simple/RPIO/
Best match: RPIO 0.10.0
Processing RPIO-0.10.0-py2.7-linux-armv7l.egg
RPIO 0.10.0 is already the active version in easy-install.pth
Installing rpio script to /usr/local/bin
Installing rpio-curses script to /usr/local/bin
Using /usr/local/lib/python2.7/dist-packages/RPIO-0.10.0-py2.7-linux-armv7l.egg
Processing dependencies for RPIO
Finished processing dependencies for RPIOCode: Select all
root@rpi /opt/voda # rpio-curses
Traceback (most recent call last):
File "/usr/local/bin/rpio-curses", line 4, in <module>
__import__('pkg_resources').run_script('RPIO==0.10.0', 'rpio-curses')
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 742, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1674, in run_script
exec(script_code, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/RPIO-0.10.0-py2.7-linux-armv7l.egg/EGG-INFO/scripts/rpio-curses", line 74, in <module>
File "build/bdist.linux-armv7l/egg/RPIO/__init__.py", line 115, in <module>
File "build/bdist.linux-armv7l/egg/RPIO/_GPIO.py", line 7, in <module>
File "build/bdist.linux-armv7l/egg/RPIO/_GPIO.py", line 6, in __bootstrap__
SystemError: This module can only be run on a Raspberry Pi!You don't need to uninstall the previous version, just installing the new version overwrites the old version.VecH wrote:How to iunstall alternate version ?
In order to establish what commands please
Yes, as I said above, it will overwrite the old faulty RPIO package with the new working RPIO package. Why's that a problem?VecH wrote:These steps will overwrite package
I don't see why not, but I've never tried it.VecH wrote:rpio-curses will work?
Code: Select all
root@vdk-etalon ~/rpio # git clone https://github.com/metachris/RPIO.git
Cloning into 'RPIO'...
remote: Counting objects: 2136, done.
remote: Total 2136 (delta 0), reused 0 (delta 0), pack-reused 2136
Receiving objects: 100% (2136/2136), 1.91 MiB | 364.00 KiB/s, done.
Resolving deltas: 100% (1263/1263), done.
Checking connectivity... done.
root@vdk-etalon ~/rpio # cd RPIO/
root@vdk-etalon ~/rpio/RPIO # python setup.py install
running install
running bdist_egg
running egg_info
creating source/RPIO.egg-info
writing source/RPIO.egg-info/PKG-INFO
writing top-level names to source/RPIO.egg-info/top_level.txt
writing dependency_links to source/RPIO.egg-info/dependency_links.txt
writing manifest file 'source/RPIO.egg-info/SOURCES.txt'
reading manifest file 'source/RPIO.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'source/RPIO.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-armv7l/egg
running install_lib
running build_py
creating build
creating build/lib.linux-armv7l-2.7
creating build/lib.linux-armv7l-2.7/RPIO
copying source/RPIO/_RPIO.py -> build/lib.linux-armv7l-2.7/RPIO
copying source/RPIO/Exceptions.py -> build/lib.linux-armv7l-2.7/RPIO
copying source/RPIO/__init__.py -> build/lib.linux-armv7l-2.7/RPIO
creating build/lib.linux-armv7l-2.7/RPIO/PWM
copying source/RPIO/PWM/__init__.py -> build/lib.linux-armv7l-2.7/RPIO/PWM
running build_ext
building 'RPIO._GPIO' extension
creating build/temp.linux-armv7l-2.7
creating build/temp.linux-armv7l-2.7/source
creating build/temp.linux-armv7l-2.7/source/c_gpio
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c source/c_gpio/py_gpio.c -o build/temp.linux-armv7l-2.7/source/c_gpio/py_gpio.o -Wno-error=declaration-after-statement
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c source/c_gpio/c_gpio.c -o build/temp.linux-armv7l-2.7/source/c_gpio/c_gpio.o -Wno-error=declaration-after-statement
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c source/c_gpio/cpuinfo.c -o build/temp.linux-armv7l-2.7/source/c_gpio/cpuinfo.o -Wno-error=declaration-after-statement
source/c_gpio/cpuinfo.c: In function ‘get_cpuinfo_revision’:
source/c_gpio/cpuinfo.c:50:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buffer, sizeof(buffer) , fp);
^
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/source/c_gpio/py_gpio.o build/temp.linux-armv7l-2.7/source/c_gpio/c_gpio.o build/temp.linux-armv7l-2.7/source/c_gpio/cpuinfo.o -o build/lib.linux-armv7l-2.7/RPIO/_GPIO.so
building 'RPIO.PWM._PWM' extension
creating build/temp.linux-armv7l-2.7/source/c_pwm
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c source/c_pwm/pwm.c -o build/temp.linux-armv7l-2.7/source/c_pwm/pwm.o -Wno-error=declaration-after-statement
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c source/c_pwm/pwm_py.c -o build/temp.linux-armv7l-2.7/source/c_pwm/pwm_py.o -Wno-error=declaration-after-statement
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/source/c_pwm/pwm.o build/temp.linux-armv7l-2.7/source/c_pwm/pwm_py.o -o build/lib.linux-armv7l-2.7/RPIO/PWM/_PWM.so
creating build/bdist.linux-armv7l
creating build/bdist.linux-armv7l/egg
creating build/bdist.linux-armv7l/egg/RPIO
copying build/lib.linux-armv7l-2.7/RPIO/_GPIO.so -> build/bdist.linux-armv7l/egg/RPIO
copying build/lib.linux-armv7l-2.7/RPIO/_RPIO.py -> build/bdist.linux-armv7l/egg/RPIO
copying build/lib.linux-armv7l-2.7/RPIO/Exceptions.py -> build/bdist.linux-armv7l/egg/RPIO
creating build/bdist.linux-armv7l/egg/RPIO/PWM
copying build/lib.linux-armv7l-2.7/RPIO/PWM/_PWM.so -> build/bdist.linux-armv7l/egg/RPIO/PWM
copying build/lib.linux-armv7l-2.7/RPIO/PWM/__init__.py -> build/bdist.linux-armv7l/egg/RPIO/PWM
copying build/lib.linux-armv7l-2.7/RPIO/__init__.py -> build/bdist.linux-armv7l/egg/RPIO
byte-compiling build/bdist.linux-armv7l/egg/RPIO/_RPIO.py to _RPIO.pyc
byte-compiling build/bdist.linux-armv7l/egg/RPIO/Exceptions.py to Exceptions.pyc
byte-compiling build/bdist.linux-armv7l/egg/RPIO/PWM/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-armv7l/egg/RPIO/__init__.py to __init__.pyc
creating stub loader for RPIO/_GPIO.so
creating stub loader for RPIO/PWM/_PWM.so
byte-compiling build/bdist.linux-armv7l/egg/RPIO/_GPIO.py to _GPIO.pyc
byte-compiling build/bdist.linux-armv7l/egg/RPIO/PWM/_PWM.py to _PWM.pyc
creating build/bdist.linux-armv7l/egg/EGG-INFO
installing scripts to build/bdist.linux-armv7l/egg/EGG-INFO/scripts
running install_scripts
running build_scripts
creating build/scripts-2.7
copying and adjusting source/scripts/rpio -> build/scripts-2.7
copying and adjusting source/scripts/rpio-curses -> build/scripts-2.7
changing mode of build/scripts-2.7/rpio from 644 to 755
changing mode of build/scripts-2.7/rpio-curses from 644 to 755
creating build/bdist.linux-armv7l/egg/EGG-INFO/scripts
copying build/scripts-2.7/rpio -> build/bdist.linux-armv7l/egg/EGG-INFO/scripts
copying build/scripts-2.7/rpio-curses -> build/bdist.linux-armv7l/egg/EGG-INFO/scripts
changing mode of build/bdist.linux-armv7l/egg/EGG-INFO/scripts/rpio to 755
changing mode of build/bdist.linux-armv7l/egg/EGG-INFO/scripts/rpio-curses to 755
copying source/RPIO.egg-info/PKG-INFO -> build/bdist.linux-armv7l/egg/EGG-INFO
copying source/RPIO.egg-info/SOURCES.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying source/RPIO.egg-info/dependency_links.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying source/RPIO.egg-info/top_level.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
writing build/bdist.linux-armv7l/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/RPIO-0.10.1-py2.7-linux-armv7l.egg' and adding 'build/bdist.linux-armv7l/egg' to it
removing 'build/bdist.linux-armv7l/egg' (and everything under it)
Processing RPIO-0.10.1-py2.7-linux-armv7l.egg
Copying RPIO-0.10.1-py2.7-linux-armv7l.egg to /usr/local/lib/python2.7/dist-packages
Removing RPIO 0.10.0 from easy-install.pth file
Adding RPIO 0.10.1 to easy-install.pth file
Installing rpio script to /usr/local/bin
Installing rpio-curses script to /usr/local/bin
Installed /usr/local/lib/python2.7/dist-packages/RPIO-0.10.1-py2.7-linux-armv7l.egg
Processing dependencies for RPIO==0.10.1
Finished processing dependencies for RPIO==0.10.1
root@vdk-etalon ~/rpio/RPIO # python3 setup.py install
running install
Checking .pth file support in /usr/local/lib/python3.4/dist-packages/
/usr/bin/python3 -E -c pass
TEST PASSED: /usr/local/lib/python3.4/dist-packages/ appears to support .pth files
running bdist_egg
running egg_info
writing source/RPIO.egg-info/PKG-INFO
writing top-level names to source/RPIO.egg-info/top_level.txt
writing dependency_links to source/RPIO.egg-info/dependency_links.txt
reading manifest file 'source/RPIO.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'source/RPIO.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-armv7l/egg
running install_lib
running build_py
creating build/lib.linux-armv7l-3.4
creating build/lib.linux-armv7l-3.4/RPIO
copying source/RPIO/_RPIO.py -> build/lib.linux-armv7l-3.4/RPIO
copying source/RPIO/Exceptions.py -> build/lib.linux-armv7l-3.4/RPIO
copying source/RPIO/__init__.py -> build/lib.linux-armv7l-3.4/RPIO
creating build/lib.linux-armv7l-3.4/RPIO/PWM
copying source/RPIO/PWM/__init__.py -> build/lib.linux-armv7l-3.4/RPIO/PWM
running build_ext
building 'RPIO._GPIO' extension
creating build/temp.linux-armv7l-3.4
creating build/temp.linux-armv7l-3.4/source
creating build/temp.linux-armv7l-3.4/source/c_gpio
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c source/c_gpio/py_gpio.c -o build/temp.linux-armv7l-3.4/source/c_gpio/py_gpio.o -Wno-error=declaration-after-statement
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c source/c_gpio/c_gpio.c -o build/temp.linux-armv7l-3.4/source/c_gpio/c_gpio.o -Wno-error=declaration-after-statement
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c source/c_gpio/cpuinfo.c -o build/temp.linux-armv7l-3.4/source/c_gpio/cpuinfo.o -Wno-error=declaration-after-statement
source/c_gpio/cpuinfo.c: In function ‘get_cpuinfo_revision’:
source/c_gpio/cpuinfo.c:50:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buffer, sizeof(buffer) , fp);
^
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.4/source/c_gpio/py_gpio.o build/temp.linux-armv7l-3.4/source/c_gpio/c_gpio.o build/temp.linux-armv7l-3.4/source/c_gpio/cpuinfo.o -o build/lib.linux-armv7l-3.4/RPIO/_GPIO.cpython-34m.so
building 'RPIO.PWM._PWM' extension
creating build/temp.linux-armv7l-3.4/source/c_pwm
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c source/c_pwm/pwm.c -o build/temp.linux-armv7l-3.4/source/c_pwm/pwm.o -Wno-error=declaration-after-statement
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c source/c_pwm/pwm_py.c -o build/temp.linux-armv7l-3.4/source/c_pwm/pwm_py.o -Wno-error=declaration-after-statement
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.4/source/c_pwm/pwm.o build/temp.linux-armv7l-3.4/source/c_pwm/pwm_py.o -o build/lib.linux-armv7l-3.4/RPIO/PWM/_PWM.cpython-34m.so
creating build/bdist.linux-armv7l/egg
creating build/bdist.linux-armv7l/egg/RPIO
copying build/lib.linux-armv7l-3.4/RPIO/_GPIO.cpython-34m.so -> build/bdist.linux-armv7l/egg/RPIO
copying build/lib.linux-armv7l-3.4/RPIO/_RPIO.py -> build/bdist.linux-armv7l/egg/RPIO
copying build/lib.linux-armv7l-3.4/RPIO/Exceptions.py -> build/bdist.linux-armv7l/egg/RPIO
creating build/bdist.linux-armv7l/egg/RPIO/PWM
copying build/lib.linux-armv7l-3.4/RPIO/PWM/_PWM.cpython-34m.so -> build/bdist.linux-armv7l/egg/RPIO/PWM
copying build/lib.linux-armv7l-3.4/RPIO/PWM/__init__.py -> build/bdist.linux-armv7l/egg/RPIO/PWM
copying build/lib.linux-armv7l-3.4/RPIO/__init__.py -> build/bdist.linux-armv7l/egg/RPIO
byte-compiling build/bdist.linux-armv7l/egg/RPIO/_RPIO.py to _RPIO.cpython-34.pyc
byte-compiling build/bdist.linux-armv7l/egg/RPIO/Exceptions.py to Exceptions.cpython-34.pyc
byte-compiling build/bdist.linux-armv7l/egg/RPIO/PWM/__init__.py to __init__.cpython-34.pyc
byte-compiling build/bdist.linux-armv7l/egg/RPIO/__init__.py to __init__.cpython-34.pyc
creating stub loader for RPIO/_GPIO.cpython-34m.so
creating stub loader for RPIO/PWM/_PWM.cpython-34m.so
byte-compiling build/bdist.linux-armv7l/egg/RPIO/_GPIO.py to _GPIO.cpython-34.pyc
byte-compiling build/bdist.linux-armv7l/egg/RPIO/PWM/_PWM.py to _PWM.cpython-34.pyc
creating build/bdist.linux-armv7l/egg/EGG-INFO
installing scripts to build/bdist.linux-armv7l/egg/EGG-INFO/scripts
running install_scripts
running build_scripts
creating build/scripts-3.4
copying and adjusting source/scripts/rpio -> build/scripts-3.4
copying and adjusting source/scripts/rpio-curses -> build/scripts-3.4
changing mode of build/scripts-3.4/rpio from 644 to 755
changing mode of build/scripts-3.4/rpio-curses from 644 to 755
creating build/bdist.linux-armv7l/egg/EGG-INFO/scripts
copying build/scripts-3.4/rpio -> build/bdist.linux-armv7l/egg/EGG-INFO/scripts
copying build/scripts-3.4/rpio-curses -> build/bdist.linux-armv7l/egg/EGG-INFO/scripts
changing mode of build/bdist.linux-armv7l/egg/EGG-INFO/scripts/rpio to 755
changing mode of build/bdist.linux-armv7l/egg/EGG-INFO/scripts/rpio-curses to 755
copying source/RPIO.egg-info/PKG-INFO -> build/bdist.linux-armv7l/egg/EGG-INFO
copying source/RPIO.egg-info/SOURCES.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying source/RPIO.egg-info/dependency_links.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying source/RPIO.egg-info/top_level.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
writing build/bdist.linux-armv7l/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
RPIO.__pycache__._GPIO.cpython-34: module references __file__
RPIO.PWM.__pycache__._PWM.cpython-34: module references __file__
creating 'dist/RPIO-0.10.1-py3.4-linux-armv7l.egg' and adding 'build/bdist.linux-armv7l/egg' to it
removing 'build/bdist.linux-armv7l/egg' (and everything under it)
Processing RPIO-0.10.1-py3.4-linux-armv7l.egg
creating /usr/local/lib/python3.4/dist-packages/RPIO-0.10.1-py3.4-linux-armv7l.egg
Extracting RPIO-0.10.1-py3.4-linux-armv7l.egg to /usr/local/lib/python3.4/dist-packages
Adding RPIO 0.10.1 to easy-install.pth file
Installing rpio script to /usr/local/bin
Installing rpio-curses script to /usr/local/bin
Installed /usr/local/lib/python3.4/dist-packages/RPIO-0.10.1-py3.4-linux-armv7l.egg
Processing dependencies for RPIO==0.10.1
Finished processing dependencies for RPIO==0.10.1
root@vdk-etalon ~/rpio/RPIO # rpio-curses
Traceback (most recent call last):
File "/usr/local/bin/rpio-curses", line 4, in <module>
__import__('pkg_resources').run_script('RPIO==0.10.1', 'rpio-curses')
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 534, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 1438, in run_script
execfile(script_filename, namespace, namespace)
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 59, in execfile
exec(compile(open(fn).read(), fn, 'exec'), globs, locs)
File "/usr/local/lib/python3.4/dist-packages/RPIO-0.10.1-py3.4-linux-armv7l.egg/EGG-INFO/scripts/rpio-curses", line 74, in <module>
import RPIO
File "/usr/local/lib/python3.4/dist-packages/RPIO-0.10.1-py3.4-linux-armv7l.egg/RPIO/__init__.py", line 115, in <module>
import RPIO._GPIO as _GPIO
SystemError: This module can only be run on a Raspberry Pi!
Code: Select all
root@vdk-etalon ~/rpio # cd RPIO-2/
root@vdk-etalon ~/rpio/RPIO-2 # python setup.py install
/usr/local/lib/python2.7/dist-packages/setuptools/dist.py:285: UserWarning: Normalizing '2.0.0-beta1' to '2.0.0b1'
normalized_version,
running install
running bdist_egg
running egg_info
creating source/RPIO.egg-info
writing source/RPIO.egg-info/PKG-INFO
writing top-level names to source/RPIO.egg-info/top_level.txt
writing dependency_links to source/RPIO.egg-info/dependency_links.txt
writing manifest file 'source/RPIO.egg-info/SOURCES.txt'
reading manifest file 'source/RPIO.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'source/RPIO.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-armv7l/egg
running install_lib
running build_py
creating build
creating build/lib.linux-armv7l-2.7
creating build/lib.linux-armv7l-2.7/RPIO
copying source/RPIO/_RPIO.py -> build/lib.linux-armv7l-2.7/RPIO
copying source/RPIO/Exceptions.py -> build/lib.linux-armv7l-2.7/RPIO
copying source/RPIO/__init__.py -> build/lib.linux-armv7l-2.7/RPIO
creating build/lib.linux-armv7l-2.7/RPIO/PWM
copying source/RPIO/PWM/__init__.py -> build/lib.linux-armv7l-2.7/RPIO/PWM
running build_ext
building 'RPIO._GPIO' extension
creating build/temp.linux-armv7l-2.7
creating build/temp.linux-armv7l-2.7/source
creating build/temp.linux-armv7l-2.7/source/c_gpio
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c source/c_gpio/py_gpio.c -o build/temp.linux-armv7l-2.7/source/c_gpio/py_gpio.o -Wno-error=declaration-after-statement
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c source/c_gpio/c_gpio.c -o build/temp.linux-armv7l-2.7/source/c_gpio/c_gpio.o -Wno-error=declaration-after-statement
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c source/c_gpio/cpuinfo.c -o build/temp.linux-armv7l-2.7/source/c_gpio/cpuinfo.o -Wno-error=declaration-after-statement
source/c_gpio/cpuinfo.c: In function ‘get_cpuinfo_revision’:
source/c_gpio/cpuinfo.c:50:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buffer, sizeof(buffer) , fp);
^
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/source/c_gpio/py_gpio.o build/temp.linux-armv7l-2.7/source/c_gpio/c_gpio.o build/temp.linux-armv7l-2.7/source/c_gpio/cpuinfo.o -o build/lib.linux-armv7l-2.7/RPIO/_GPIO.so
building 'RPIO.PWM._PWM' extension
creating build/temp.linux-armv7l-2.7/source/c_pwm
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c source/c_pwm/pwm.c -o build/temp.linux-armv7l-2.7/source/c_pwm/pwm.o -Wno-error=declaration-after-statement
In file included from source/c_pwm/pwm.c:88:0:
source/c_pwm/mailbox.h:34:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
int mbox_open();
^
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c source/c_pwm/mailbox.c -o build/temp.linux-armv7l-2.7/source/c_pwm/mailbox.o -Wno-error=declaration-after-statement
In file included from source/c_pwm/mailbox.c:38:0:
source/c_pwm/mailbox.h:34:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
int mbox_open();
^
source/c_pwm/mailbox.c:246:5: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
int mbox_open() {
^
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c source/c_pwm/pwm_py.c -o build/temp.linux-armv7l-2.7/source/c_pwm/pwm_py.o -Wno-error=declaration-after-statement
In file included from source/c_pwm/pwm_py.c:27:0:
source/c_pwm/mailbox.h:34:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
int mbox_open();
^
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/source/c_pwm/pwm.o build/temp.linux-armv7l-2.7/source/c_pwm/mailbox.o build/temp.linux-armv7l-2.7/source/c_pwm/pwm_py.o -o build/lib.linux-armv7l-2.7/RPIO/PWM/_PWM.so
creating build/bdist.linux-armv7l
creating build/bdist.linux-armv7l/egg
creating build/bdist.linux-armv7l/egg/RPIO
copying build/lib.linux-armv7l-2.7/RPIO/_GPIO.so -> build/bdist.linux-armv7l/egg/RPIO
copying build/lib.linux-armv7l-2.7/RPIO/_RPIO.py -> build/bdist.linux-armv7l/egg/RPIO
copying build/lib.linux-armv7l-2.7/RPIO/Exceptions.py -> build/bdist.linux-armv7l/egg/RPIO
creating build/bdist.linux-armv7l/egg/RPIO/PWM
copying build/lib.linux-armv7l-2.7/RPIO/PWM/_PWM.so -> build/bdist.linux-armv7l/egg/RPIO/PWM
copying build/lib.linux-armv7l-2.7/RPIO/PWM/__init__.py -> build/bdist.linux-armv7l/egg/RPIO/PWM
copying build/lib.linux-armv7l-2.7/RPIO/__init__.py -> build/bdist.linux-armv7l/egg/RPIO
byte-compiling build/bdist.linux-armv7l/egg/RPIO/_RPIO.py to _RPIO.pyc
byte-compiling build/bdist.linux-armv7l/egg/RPIO/Exceptions.py to Exceptions.pyc
byte-compiling build/bdist.linux-armv7l/egg/RPIO/PWM/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-armv7l/egg/RPIO/__init__.py to __init__.pyc
creating stub loader for RPIO/_GPIO.so
creating stub loader for RPIO/PWM/_PWM.so
byte-compiling build/bdist.linux-armv7l/egg/RPIO/_GPIO.py to _GPIO.pyc
byte-compiling build/bdist.linux-armv7l/egg/RPIO/PWM/_PWM.py to _PWM.pyc
creating build/bdist.linux-armv7l/egg/EGG-INFO
installing scripts to build/bdist.linux-armv7l/egg/EGG-INFO/scripts
running install_scripts
running build_scripts
creating build/scripts-2.7
copying and adjusting source/scripts/rpio -> build/scripts-2.7
copying and adjusting source/scripts/rpio-curses -> build/scripts-2.7
changing mode of build/scripts-2.7/rpio from 644 to 755
changing mode of build/scripts-2.7/rpio-curses from 644 to 755
creating build/bdist.linux-armv7l/egg/EGG-INFO/scripts
copying build/scripts-2.7/rpio -> build/bdist.linux-armv7l/egg/EGG-INFO/scripts
copying build/scripts-2.7/rpio-curses -> build/bdist.linux-armv7l/egg/EGG-INFO/scripts
changing mode of build/bdist.linux-armv7l/egg/EGG-INFO/scripts/rpio to 755
changing mode of build/bdist.linux-armv7l/egg/EGG-INFO/scripts/rpio-curses to 755
copying source/RPIO.egg-info/PKG-INFO -> build/bdist.linux-armv7l/egg/EGG-INFO
copying source/RPIO.egg-info/SOURCES.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying source/RPIO.egg-info/dependency_links.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying source/RPIO.egg-info/top_level.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
writing build/bdist.linux-armv7l/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/RPIO-2.0.0b1-py2.7-linux-armv7l.egg' and adding 'build/bdist.linux-armv7l/egg' to it
removing 'build/bdist.linux-armv7l/egg' (and everything under it)
Processing RPIO-2.0.0b1-py2.7-linux-armv7l.egg
Copying RPIO-2.0.0b1-py2.7-linux-armv7l.egg to /usr/local/lib/python2.7/dist-packages
Removing RPIO 0.10.1 from easy-install.pth file
Adding RPIO 2.0.0b1 to easy-install.pth file
Installing rpio script to /usr/local/bin
Installing rpio-curses script to /usr/local/bin
Installed /usr/local/lib/python2.7/dist-packages/RPIO-2.0.0b1-py2.7-linux-armv7l.egg
Processing dependencies for RPIO==2.0.0b1
Finished processing dependencies for RPIO==2.0.0b1
root@vdk-etalon ~/rpio/RPIO-2 # python3 setup.py install
running install
Checking .pth file support in /usr/local/lib/python3.4/dist-packages/
/usr/bin/python3 -E -c pass
TEST PASSED: /usr/local/lib/python3.4/dist-packages/ appears to support .pth files
running bdist_egg
running egg_info
writing top-level names to source/RPIO.egg-info/top_level.txt
writing source/RPIO.egg-info/PKG-INFO
writing dependency_links to source/RPIO.egg-info/dependency_links.txt
reading manifest file 'source/RPIO.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'source/RPIO.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-armv7l/egg
running install_lib
running build_py
creating build/lib.linux-armv7l-3.4
creating build/lib.linux-armv7l-3.4/RPIO
copying source/RPIO/_RPIO.py -> build/lib.linux-armv7l-3.4/RPIO
copying source/RPIO/Exceptions.py -> build/lib.linux-armv7l-3.4/RPIO
copying source/RPIO/__init__.py -> build/lib.linux-armv7l-3.4/RPIO
creating build/lib.linux-armv7l-3.4/RPIO/PWM
copying source/RPIO/PWM/__init__.py -> build/lib.linux-armv7l-3.4/RPIO/PWM
running build_ext
building 'RPIO._GPIO' extension
creating build/temp.linux-armv7l-3.4
creating build/temp.linux-armv7l-3.4/source
creating build/temp.linux-armv7l-3.4/source/c_gpio
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c source/c_gpio/py_gpio.c -o build/temp.linux-armv7l-3.4/source/c_gpio/py_gpio.o -Wno-error=declaration-after-statement
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c source/c_gpio/c_gpio.c -o build/temp.linux-armv7l-3.4/source/c_gpio/c_gpio.o -Wno-error=declaration-after-statement
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c source/c_gpio/cpuinfo.c -o build/temp.linux-armv7l-3.4/source/c_gpio/cpuinfo.o -Wno-error=declaration-after-statement
source/c_gpio/cpuinfo.c: In function ‘get_cpuinfo_revision’:
source/c_gpio/cpuinfo.c:50:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buffer, sizeof(buffer) , fp);
^
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.4/source/c_gpio/py_gpio.o build/temp.linux-armv7l-3.4/source/c_gpio/c_gpio.o build/temp.linux-armv7l-3.4/source/c_gpio/cpuinfo.o -o build/lib.linux-armv7l-3.4/RPIO/_GPIO.cpython-34m.so
building 'RPIO.PWM._PWM' extension
creating build/temp.linux-armv7l-3.4/source/c_pwm
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c source/c_pwm/pwm.c -o build/temp.linux-armv7l-3.4/source/c_pwm/pwm.o -Wno-error=declaration-after-statement
In file included from source/c_pwm/pwm.c:88:0:
source/c_pwm/mailbox.h:34:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
int mbox_open();
^
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c source/c_pwm/mailbox.c -o build/temp.linux-armv7l-3.4/source/c_pwm/mailbox.o -Wno-error=declaration-after-statement
In file included from source/c_pwm/mailbox.c:38:0:
source/c_pwm/mailbox.h:34:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
int mbox_open();
^
source/c_pwm/mailbox.c:246:5: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
int mbox_open() {
^
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c source/c_pwm/pwm_py.c -o build/temp.linux-armv7l-3.4/source/c_pwm/pwm_py.o -Wno-error=declaration-after-statement
In file included from source/c_pwm/pwm_py.c:27:0:
source/c_pwm/mailbox.h:34:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
int mbox_open();
^
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.4/source/c_pwm/pwm.o build/temp.linux-armv7l-3.4/source/c_pwm/mailbox.o build/temp.linux-armv7l-3.4/source/c_pwm/pwm_py.o -o build/lib.linux-armv7l-3.4/RPIO/PWM/_PWM.cpython-34m.so
creating build/bdist.linux-armv7l/egg
creating build/bdist.linux-armv7l/egg/RPIO
copying build/lib.linux-armv7l-3.4/RPIO/_GPIO.cpython-34m.so -> build/bdist.linux-armv7l/egg/RPIO
copying build/lib.linux-armv7l-3.4/RPIO/_RPIO.py -> build/bdist.linux-armv7l/egg/RPIO
copying build/lib.linux-armv7l-3.4/RPIO/Exceptions.py -> build/bdist.linux-armv7l/egg/RPIO
creating build/bdist.linux-armv7l/egg/RPIO/PWM
copying build/lib.linux-armv7l-3.4/RPIO/PWM/_PWM.cpython-34m.so -> build/bdist.linux-armv7l/egg/RPIO/PWM
copying build/lib.linux-armv7l-3.4/RPIO/PWM/__init__.py -> build/bdist.linux-armv7l/egg/RPIO/PWM
copying build/lib.linux-armv7l-3.4/RPIO/__init__.py -> build/bdist.linux-armv7l/egg/RPIO
byte-compiling build/bdist.linux-armv7l/egg/RPIO/_RPIO.py to _RPIO.cpython-34.pyc
byte-compiling build/bdist.linux-armv7l/egg/RPIO/Exceptions.py to Exceptions.cpython-34.pyc
byte-compiling build/bdist.linux-armv7l/egg/RPIO/PWM/__init__.py to __init__.cpython-34.pyc
byte-compiling build/bdist.linux-armv7l/egg/RPIO/__init__.py to __init__.cpython-34.pyc
creating stub loader for RPIO/_GPIO.cpython-34m.so
creating stub loader for RPIO/PWM/_PWM.cpython-34m.so
byte-compiling build/bdist.linux-armv7l/egg/RPIO/_GPIO.py to _GPIO.cpython-34.pyc
byte-compiling build/bdist.linux-armv7l/egg/RPIO/PWM/_PWM.py to _PWM.cpython-34.pyc
creating build/bdist.linux-armv7l/egg/EGG-INFO
installing scripts to build/bdist.linux-armv7l/egg/EGG-INFO/scripts
running install_scripts
running build_scripts
creating build/scripts-3.4
copying and adjusting source/scripts/rpio -> build/scripts-3.4
copying and adjusting source/scripts/rpio-curses -> build/scripts-3.4
changing mode of build/scripts-3.4/rpio from 644 to 755
changing mode of build/scripts-3.4/rpio-curses from 644 to 755
creating build/bdist.linux-armv7l/egg/EGG-INFO/scripts
copying build/scripts-3.4/rpio -> build/bdist.linux-armv7l/egg/EGG-INFO/scripts
copying build/scripts-3.4/rpio-curses -> build/bdist.linux-armv7l/egg/EGG-INFO/scripts
changing mode of build/bdist.linux-armv7l/egg/EGG-INFO/scripts/rpio to 755
changing mode of build/bdist.linux-armv7l/egg/EGG-INFO/scripts/rpio-curses to 755
copying source/RPIO.egg-info/PKG-INFO -> build/bdist.linux-armv7l/egg/EGG-INFO
copying source/RPIO.egg-info/SOURCES.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying source/RPIO.egg-info/dependency_links.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying source/RPIO.egg-info/top_level.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
writing build/bdist.linux-armv7l/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
RPIO.__pycache__._GPIO.cpython-34: module references __file__
RPIO.PWM.__pycache__._PWM.cpython-34: module references __file__
creating 'dist/RPIO-2.0.0_beta1-py3.4-linux-armv7l.egg' and adding 'build/bdist.linux-armv7l/egg' to it
removing 'build/bdist.linux-armv7l/egg' (and everything under it)
Processing RPIO-2.0.0_beta1-py3.4-linux-armv7l.egg
creating /usr/local/lib/python3.4/dist-packages/RPIO-2.0.0_beta1-py3.4-linux-armv7l.egg
Extracting RPIO-2.0.0_beta1-py3.4-linux-armv7l.egg to /usr/local/lib/python3.4/dist-packages
Removing RPIO 0.10.1 from easy-install.pth file
Adding RPIO 2.0.0-beta1 to easy-install.pth file
Installing rpio script to /usr/local/bin
Installing rpio-curses script to /usr/local/bin
Installed /usr/local/lib/python3.4/dist-packages/RPIO-2.0.0_beta1-py3.4-linux-armv7l.egg
Processing dependencies for RPIO==2.0.0-beta1
Finished processing dependencies for RPIO==2.0.0-beta1
root@vdk-etalon ~/rpio/RPIO-2 # rpio-curses
Traceback (most recent call last):
File "/usr/local/bin/rpio-curses", line 4, in <module>
__import__('pkg_resources').run_script('RPIO==2.0.0-beta1', 'rpio-curses')
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 534, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 1438, in run_script
execfile(script_filename, namespace, namespace)
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 59, in execfile
exec(compile(open(fn).read(), fn, 'exec'), globs, locs)
File "/usr/local/lib/python3.4/dist-packages/RPIO-2.0.0_beta1-py3.4-linux-armv7l.egg/EGG-INFO/scripts/rpio-curses", line 96, in <module>
GPIO_LIST = get_gpiolist()
File "/usr/local/lib/python3.4/dist-packages/RPIO-2.0.0_beta1-py3.4-linux-armv7l.egg/EGG-INFO/scripts/rpio-curses", line 78, in get_gpiolist
if RPIO.sysinfo()[1] == 'B+':
File "/usr/local/lib/python3.4/dist-packages/RPIO-2.0.0_beta1-py3.4-linux-armv7l.egg/RPIO/__init__.py", line 186, in sysinfo
return (RPI_REVISION_HEX,) + MODEL_DATA[RPI_REVISION_HEX.lstrip("0")]
KeyError: 'a21041'The OP told you withHove wrote:OK, so it seems the rpio-curses script needs updating to recognise newer models of the Raspberry Pi. What model of Raspberry Pi are you running this on?
which looks like it's a 3B.Code: Select all
KeyError: 'a21041'