I'm attempting to get QMK working. After installing via brew install qmk/qmk/qmk/
, I run qmk setup
.
I get this error.
qmk setup
Output:
Error: %s: %s ('ModuleNotFoundError', ModuleNotFoundError("No module named 'hid'"))
Traceback (most recent call last):
File "/usr/local/Cellar/qmk/0.0.45/libexec/lib/python3.9/site-packages/qmk_cli/script_qmk.py", line 99, in main
import qmk.cli # noqa
File "/Users/anthony/qmk_firmware/lib/python/qmk/cli/__init__.py", line 158, in <module>
from . import console # noqa
File "/Users/anthony/qmk_firmware/lib/python/qmk/cli/console.py", line 9, in <module>
import hid
I'm on macOS v10.15.7 (Catalina). I have Python installed via pyenv. What is the cause of this error?
Try updating QMK. I had the same issue with 0.0.45, but it worked with 0.0.51.
Try brew upgrade qmk/qmk/qmk
.