我正在尝试让QMK工作。通过brew install qmk/qmk/qmk/
安装后,我运行qmk setup
。
我得到这个错误。
qmk setup
输出:
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
macOS v10.15.7( Catalina )我通过pyenv安装了Python。这个错误的原因是什么?
1条答案
按热度按时间piv4azn71#
尝试更新QMK。我在0.0.45中遇到了同样的问题,但它在0.0.51中工作。
试试
brew upgrade qmk/qmk/qmk