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.
Value = RPIO.input(Pin) is always the same value, with button up and down
and
rpio-curses return this error
Traceback (most recent call last):
File "/usr/local/bin/rpio-curses", line 4, in import('pkg_resources').run_script('RPIO==2.0.0b1', 'rpio-curses')
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 739, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 1494, in run_script
exec(code, namespace, namespace)
File "/usr/local/lib/python3.5/dist-packages/RPIO-2.0.0b1-py3.5-linux-armv7l.egg/EGG-INFO/scripts/rpio-curses", line 501, in
main()
File "/usr/local/lib/python3.5/dist-packages/RPIO-2.0.0b1-py3.5-linux-armv7l.egg/EGG-INFO/scripts/rpio-curses", line 467, in main
d.start()
File "/usr/local/lib/python3.5/dist-packages/RPIO-2.0.0b1-py3.5-linux-armv7l.egg/EGG-INFO/scripts/rpio-curses", line 423, in start
self.draw()
File "/usr/local/lib/python3.5/dist-packages/RPIO-2.0.0b1-py3.5-linux-armv7l.egg/EGG-INFO/scripts/rpio-curses", line 182, in draw
screen.addstr(pos_y, POS_GPIOLIST_X+9, "%s " % (GPIO_FUNCTIONS[func]), curses.color_pair(3) if func == 4 else 0)
KeyError: 3
Thanks
The text was updated successfully, but these errors were encountered:
fishwolf
changed the title
Input doen't work with python3
Input function doen't work
Apr 7, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
sudo apt-get install python3-setuptools
sudo apt-get install python3-dev
download https://pypi.python.org/pypi/RPIO
cd RPIO
sudo python3 setup.py install
Value = RPIO.input(Pin) is always the same value, with button up and down
and
rpio-curses return this error
Traceback (most recent call last):
File "/usr/local/bin/rpio-curses", line 4, in
import('pkg_resources').run_script('RPIO==2.0.0b1', 'rpio-curses')
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 739, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 1494, in run_script
exec(code, namespace, namespace)
File "/usr/local/lib/python3.5/dist-packages/RPIO-2.0.0b1-py3.5-linux-armv7l.egg/EGG-INFO/scripts/rpio-curses", line 501, in
main()
File "/usr/local/lib/python3.5/dist-packages/RPIO-2.0.0b1-py3.5-linux-armv7l.egg/EGG-INFO/scripts/rpio-curses", line 467, in main
d.start()
File "/usr/local/lib/python3.5/dist-packages/RPIO-2.0.0b1-py3.5-linux-armv7l.egg/EGG-INFO/scripts/rpio-curses", line 423, in start
self.draw()
File "/usr/local/lib/python3.5/dist-packages/RPIO-2.0.0b1-py3.5-linux-armv7l.egg/EGG-INFO/scripts/rpio-curses", line 182, in draw
screen.addstr(pos_y, POS_GPIOLIST_X+9, "%s " % (GPIO_FUNCTIONS[func]), curses.color_pair(3) if func == 4 else 0)
KeyError: 3
Thanks
The text was updated successfully, but these errors were encountered: