You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.
I get the following error message with my program:
pi@TestPi ~ $ sudo python3 "bread test.py"
Traceback (most recent call last):
File "bread test.py", line 7, in
import RPIO as GPIO
File "/usr/local/lib/python3.2/dist-packages/RPIO-0.10.0-py2.7-linux-armv6l.egg/RPIO/init.py", line 115, in
import RPIO._GPIO as _GPIO
ImportError: /usr/local/lib/python3.2/dist-packages/RPIO-0.10.0-py2.7-linux-armv6l.egg/RPIO/_GPIO.so: undefined symbol: _Py_ZeroStruct
When I installed RPIO, it only put the libraries in the python2.7 folder, so I copied the 2.7 libs directly into the python3.2 folder.
The same program runs fine (ignoring "print" formatting with the parenthesis) in python 2.7, but gets the above error in python 3.2
Also, when I try to run "rpio-curses" I get the following error:
pi@TestPi ~ $ rpio-curses
Script not started as root. Running sudo...
Traceback (most recent call last):
File "/usr/local/bin/rpio-curses", line 5, in
pkg_resources.run_script('RPIO==0.10.0', 'rpio-curses')
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 499, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1235, in run_script
execfile(script_filename, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/RPIO-0.10.0-py2.7-linux-armv6l.egg/EGG-INFO/scripts/rpio-curses", line 93, in
"Maker: %s") % RPIO.sysinfo()
File "/usr/local/lib/python2.7/dist-packages/RPIO-0.10.0-py2.7-linux-armv6l.egg/RPIO/init.py", line 183, in sysinfo
return (RPI_REVISION_HEX,) + MODEL_DATA[RPI_REVISION_HEX.lstrip("0")]
KeyError: '10'
Please help - I would love to be able to use rpio-curses and use the library with python 3.2.
Thanks!
James
The text was updated successfully, but these errors were encountered:
I get the following error message with my program:
pi@TestPi ~ $ sudo python3 "bread test.py"
Traceback (most recent call last):
File "bread test.py", line 7, in
import RPIO as GPIO
File "/usr/local/lib/python3.2/dist-packages/RPIO-0.10.0-py2.7-linux-armv6l.egg/RPIO/init.py", line 115, in
import RPIO._GPIO as _GPIO
ImportError: /usr/local/lib/python3.2/dist-packages/RPIO-0.10.0-py2.7-linux-armv6l.egg/RPIO/_GPIO.so: undefined symbol: _Py_ZeroStruct
When I installed RPIO, it only put the libraries in the python2.7 folder, so I copied the 2.7 libs directly into the python3.2 folder.
The same program runs fine (ignoring "print" formatting with the parenthesis) in python 2.7, but gets the above error in python 3.2
Also, when I try to run "rpio-curses" I get the following error:
pi@TestPi ~ $ rpio-curses
Script not started as root. Running sudo...
Traceback (most recent call last):
File "/usr/local/bin/rpio-curses", line 5, in
pkg_resources.run_script('RPIO==0.10.0', 'rpio-curses')
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 499, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1235, in run_script
execfile(script_filename, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/RPIO-0.10.0-py2.7-linux-armv6l.egg/EGG-INFO/scripts/rpio-curses", line 93, in
"Maker: %s") % RPIO.sysinfo()
File "/usr/local/lib/python2.7/dist-packages/RPIO-0.10.0-py2.7-linux-armv6l.egg/RPIO/init.py", line 183, in sysinfo
return (RPI_REVISION_HEX,) + MODEL_DATA[RPI_REVISION_HEX.lstrip("0")]
KeyError: '10'
Please help - I would love to be able to use rpio-curses and use the library with python 3.2.
Thanks!
James
The text was updated successfully, but these errors were encountered: