Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Defaulting to user installation because normal site-packages is not writeable
- Collecting pynput
- Using cached pynput-1.7.3-py2.py3-none-any.whl (99 kB)
- Requirement already satisfied: python-xlib>=0.17 in /home/--------/.local/lib/python3.9/site-packages (from pynput) (0.30)
- Requirement already satisfied: six in /usr/lib/python3.9/site-packages (from pynput) (1.15.0)
- Collecting evdev>=1.3
- Using cached evdev-1.4.0.tar.gz (26 kB)
- Using legacy 'setup.py install' for evdev, since package 'wheel' is not installed.
- Installing collected packages: evdev, pynput
- Running setup.py install for evdev ... error
- ERROR: Command errored out with exit status 1:
- command: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ffz8l7su/evdev_5a19db43929749ba83f65255274a84b5/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ffz8l7su/evdev_5a19db43929749ba83f65255274a84b5/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-slm9dqtt/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/-----------/.local/include/python3.9/evdev
- cwd: /tmp/pip-install-ffz8l7su/evdev_5a19db43929749ba83f65255274a84b5/
- Complete output (29 lines):
- running install
- running build
- running build_py
- creating build
- creating build/lib.linux-x86_64-3.9
- creating build/lib.linux-x86_64-3.9/evdev
- copying evdev/util.py -> build/lib.linux-x86_64-3.9/evdev
- copying evdev/uinput.py -> build/lib.linux-x86_64-3.9/evdev
- copying evdev/genecodes.py -> build/lib.linux-x86_64-3.9/evdev
- copying evdev/ff.py -> build/lib.linux-x86_64-3.9/evdev
- copying evdev/evtest.py -> build/lib.linux-x86_64-3.9/evdev
- copying evdev/events.py -> build/lib.linux-x86_64-3.9/evdev
- copying evdev/eventio_async.py -> build/lib.linux-x86_64-3.9/evdev
- copying evdev/eventio.py -> build/lib.linux-x86_64-3.9/evdev
- copying evdev/ecodes.py -> build/lib.linux-x86_64-3.9/evdev
- copying evdev/device.py -> build/lib.linux-x86_64-3.9/evdev
- copying evdev/__init__.py -> build/lib.linux-x86_64-3.9/evdev
- running build_ext
- running build_ecodes
- writing ecodes.c (using /usr/include/linux/input.h /usr/include/linux/input-event-codes.h /usr/include/linux/uinput.h)
- building 'evdev._input' extension
- creating build/temp.linux-x86_64-3.9
- creating build/temp.linux-x86_64-3.9/evdev
- gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.9 -c evdev/input.c -o build/temp.linux-x86_64-3.9/evdev/input.o -std=c99 -Wno-error=declaration-after-statement
- evdev/input.c:10:10: fatal error: Python.h: No such file or directory
- 10 | #include <Python.h>
- | ^~~~~~~~~~
- compilation terminated.
- error: command '/usr/bin/gcc' failed with exit code 1
- ----------------------------------------
- ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ffz8l7su/evdev_5a19db43929749ba83f65255274a84b5/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ffz8l7su/evdev_5a19db43929749ba83f65255274a84b5/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-slm9dqtt/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/------/.local/include/python3.9/evdev Check the logs for full command output.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement