Closed boonhapus closed 1 year ago
This can also manifest itself as Could not build wheels for evdev, which is required to install pyproject.toml-based projects
| evdev/input.c:10:10: fatal error: Python.h: No such file or directory
| #include <Python.h>
| ^~~~~~~~~~
| compilation terminated.
| error: command '/usr/bin/gcc' failed with exit code 1
| [end of output]
| note: This error originates from a subprocess, and is likely not a problem with pip.
| Failed building wheel for evdev
| Building wheel for grpclib (pyproject.toml): started
15:22:35 | Building wheel for grpclib (pyproject.toml): finished with status 'done'
| Created wheel for grpclib: filename=grpclib-0.4.4-py3-none-any.whl size=77136 sha256=55dcce2d3b00df58b1707ade4231ca6c19d8559d2f5ee13ca9e9a74e96b8ad97
| Stored in directory: /tmp/pip-ephem-wheel-cache-rooece1n/wheels/64/22/ad/0d7c4059a15a9108a85d1ce827b396b17d41624e8a54553fd0
| Successfully built cs_tools horde grpclib
| Failed to build evdev
| Could not build wheels for evdev, which is required to install pyproject.toml-based projects
Again, pynput
causes this, as it relies on evdev
which in turn needs python development headers.
The resolution here is to install python-devel, but we'll be moving off of this pynput
package asap.
All it provides us is keyboard interactivity.
pynput
causes this.We need to evaluate another library as roughly 25% of our Users are on Linux.