Dear all,
When I try to install pynput on my Raspberry Pi (Python 2.7.16)
I get the error below.
Anyone knows how to install pynput properly?
Thanks!
Cheers
Michael
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pynput
Downloading https://files.pythonhosted.org/packages ... ne-any.whl (89kB)
100% |████████████████████████████████| 92kB 1.7MB/s
Collecting evdev>=1.3; "linux" in sys_platform (from pynput)
Downloading https://files.pythonhosted.org/packages ... 6.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-XLurmL/evdev/setup.py", line 103
cmd = [sys.executable, 'evdev/genecodes.py', *headers]
^
SyntaxError: invalid syntax
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-XLurmL/evdev/
When I try to install pynput on my Raspberry Pi (Python 2.7.16)
I get the error below.
Anyone knows how to install pynput properly?
Thanks!
Cheers
Michael
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pynput
Downloading https://files.pythonhosted.org/packages ... ne-any.whl (89kB)
100% |████████████████████████████████| 92kB 1.7MB/s
Collecting evdev>=1.3; "linux" in sys_platform (from pynput)
Downloading https://files.pythonhosted.org/packages ... 6.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-XLurmL/evdev/setup.py", line 103
cmd = [sys.executable, 'evdev/genecodes.py', *headers]
^
SyntaxError: invalid syntax
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-XLurmL/evdev/
Statistics: Posted by Woodz — Sat May 04, 2024 6:55 pm