Idk it seems its not able to pip install for Mac :(
(fingerpaint) drew@wmughal-CN4D09397T ~ % pip install fingerpaint
Collecting fingerpaint
Downloading fingerpaint-1.2.7-py3-none-any.whl.metadata (2.9 kB)
Collecting Pillow>=5.3.0 (from fingerpaint)
Using cached pillow-11.0.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (9.1 kB)
Collecting evdev>=1.3.0 (from fingerpaint)
Downloading evdev-1.7.1.tar.gz (30 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting pyudev (from fingerpaint)
Downloading pyudev-0.24.3-py3-none-any.whl.metadata (4.6 kB)
Downloading fingerpaint-1.2.7-py3-none-any.whl (13 kB)
Using cached pillow-11.0.0-cp310-cp310-macosx_11_0_arm64.whl (3.0 MB)
Downloading pyudev-0.24.3-py3-none-any.whl (62 kB)
Building wheels for collected packages: evdev
Building wheel for evdev (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for evdev (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [46 lines of output]
running bdist_wheel
running build
running build_py
creating build/lib.macosx-11.1-arm64-cpython-310/evdev
copying evdev/ff.py -> build/lib.macosx-11.1-arm64-cpython-310/evdev
copying evdev/evtest.py -> build/lib.macosx-11.1-arm64-cpython-310/evdev
copying evdev/device.py -> build/lib.macosx-11.1-arm64-cpython-310/evdev
copying evdev/util.py -> build/lib.macosx-11.1-arm64-cpython-310/evdev
copying evdev/events.py -> build/lib.macosx-11.1-arm64-cpython-310/evdev
copying evdev/ecodes.py -> build/lib.macosx-11.1-arm64-cpython-310/evdev
copying evdev/__init__.py -> build/lib.macosx-11.1-arm64-cpython-310/evdev
copying evdev/uinput.py -> build/lib.macosx-11.1-arm64-cpython-310/evdev
copying evdev/genecodes.py -> build/lib.macosx-11.1-arm64-cpython-310/evdev
copying evdev/eventio.py -> build/lib.macosx-11.1-arm64-cpython-310/evdev
copying evdev/eventio_async.py -> build/lib.macosx-11.1-arm64-cpython-310/evdev
running egg_info
writing evdev.egg-info/PKG-INFO
writing dependency_links to evdev.egg-info/dependency_links.txt
writing top-level names to evdev.egg-info/top_level.txt
reading manifest file 'evdev.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching 'evdev/ecodes.c'
adding license file 'LICENSE'
writing manifest file 'evdev.egg-info/SOURCES.txt'
copying evdev/input.c -> build/lib.macosx-11.1-arm64-cpython-310/evdev
copying evdev/uinput.c -> build/lib.macosx-11.1-arm64-cpython-310/evdev
running build_ext
running build_ecodes
The 'linux/input.h' and 'linux/input-event-codes.h' include files
are missing. You will have to install the kernel header files in
order to continue:
dnf install kernel-headers-$(uname -r)
apt-get install linux-headers-$(uname -r)
emerge sys-kernel/linux-headers
pacman -S kernel-headers
In case they are installed in a non-standard location, you may use
the '--evdev-headers' option to specify one or more colon-separated
paths. For example:
python setup.py \
build \
build_ecodes --evdev-headers path/input.h:path/input-event-codes.h \
build_ext --include-dirs path/ \
install
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for evdev
Failed to build evdev
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (evdev)
(fingerpaint) drew@wmughal-CN4D09397T ~ %
Idk it seems its not able to pip install for Mac :(