Advertisement
Guest User

ERROR

a guest
Jul 5th, 2021
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.70 KB | None | 0 0
  1. Defaulting to user installation because normal site-packages is not writeable
  2. Collecting pynput
  3. Using cached pynput-1.7.3-py2.py3-none-any.whl (99 kB)
  4. Requirement already satisfied: python-xlib>=0.17 in /home/--------/.local/lib/python3.9/site-packages (from pynput) (0.30)
  5. Requirement already satisfied: six in /usr/lib/python3.9/site-packages (from pynput) (1.15.0)
  6. Collecting evdev>=1.3
  7. Using cached evdev-1.4.0.tar.gz (26 kB)
  8. Using legacy 'setup.py install' for evdev, since package 'wheel' is not installed.
  9. Installing collected packages: evdev, pynput
  10. Running setup.py install for evdev ... error
  11. ERROR: Command errored out with exit status 1:
  12. 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
  13. cwd: /tmp/pip-install-ffz8l7su/evdev_5a19db43929749ba83f65255274a84b5/
  14. Complete output (29 lines):
  15. running install
  16. running build
  17. running build_py
  18. creating build
  19. creating build/lib.linux-x86_64-3.9
  20. creating build/lib.linux-x86_64-3.9/evdev
  21. copying evdev/util.py -> build/lib.linux-x86_64-3.9/evdev
  22. copying evdev/uinput.py -> build/lib.linux-x86_64-3.9/evdev
  23. copying evdev/genecodes.py -> build/lib.linux-x86_64-3.9/evdev
  24. copying evdev/ff.py -> build/lib.linux-x86_64-3.9/evdev
  25. copying evdev/evtest.py -> build/lib.linux-x86_64-3.9/evdev
  26. copying evdev/events.py -> build/lib.linux-x86_64-3.9/evdev
  27. copying evdev/eventio_async.py -> build/lib.linux-x86_64-3.9/evdev
  28. copying evdev/eventio.py -> build/lib.linux-x86_64-3.9/evdev
  29. copying evdev/ecodes.py -> build/lib.linux-x86_64-3.9/evdev
  30. copying evdev/device.py -> build/lib.linux-x86_64-3.9/evdev
  31. copying evdev/__init__.py -> build/lib.linux-x86_64-3.9/evdev
  32. running build_ext
  33. running build_ecodes
  34. writing ecodes.c (using /usr/include/linux/input.h /usr/include/linux/input-event-codes.h /usr/include/linux/uinput.h)
  35. building 'evdev._input' extension
  36. creating build/temp.linux-x86_64-3.9
  37. creating build/temp.linux-x86_64-3.9/evdev
  38. 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
  39. evdev/input.c:10:10: fatal error: Python.h: No such file or directory
  40. 10 | #include <Python.h>
  41. | ^~~~~~~~~~
  42. compilation terminated.
  43. error: command '/usr/bin/gcc' failed with exit code 1
  44. ----------------------------------------
  45. 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.
  46.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement