You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installation in brew, the QMK can't be called.
Here is the error info:
(base) xxxxx@xxxxxx-iMac-Pro ~ % qmk
Error: %s: %s ('ImportError', ImportError("cannot import name 'format_ansi' from 'milc' (/usr/local/Cellar/qmk/0.0.45/libexec/lib/python3.9/site-packages/milc/init.py)"))
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/xxx/qmk_firmware/lib/python/qmk/cli/init.py", line 13, in
from . import doctor
File "/Users/xxx/qmk_firmware/lib/python/qmk/cli/doctor.py", line 13, in
from qmk.questions import yesno
File "/Users/xxx/qmk_firmware/lib/python/qmk/questions.py", line 4, in
from milc import cli, format_ansi
ImportError: cannot import name 'format_ansi' from 'milc' (/usr/local/Cellar/qmk/0.0.45/libexec/lib/python3.9/site-packages/milc/init.py)
System: MacOS Big Sur 11.2.1
The text was updated successfully, but these errors were encountered:
Also when I check the milc package, it seems format_ansi has been removed.
Version 1.3.0
You can now set the program version number with os.environ['MILC_APP_VERSION'] = '1.2.3'
New global arguments: –unicode and –no-unicode
ANSIFormatter, ANSIStrippingFormatter, ANSIEmojiLoglevelFormatter, and ANSIStrippingEmojiLoglevelFormatter have been removed in favor of format_ansi() being color aware. The new MILCFormatter is being used in its place.
After installation in brew, the QMK can't be called.
Here is the error info:
(base) xxxxx@xxxxxx-iMac-Pro ~ % qmk
Error: %s: %s ('ImportError', ImportError("cannot import name 'format_ansi' from 'milc' (/usr/local/Cellar/qmk/0.0.45/libexec/lib/python3.9/site-packages/milc/init.py)"))
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/xxx/qmk_firmware/lib/python/qmk/cli/init.py", line 13, in
from . import doctor
File "/Users/xxx/qmk_firmware/lib/python/qmk/cli/doctor.py", line 13, in
from qmk.questions import yesno
File "/Users/xxx/qmk_firmware/lib/python/qmk/questions.py", line 4, in
from milc import cli, format_ansi
ImportError: cannot import name 'format_ansi' from 'milc' (/usr/local/Cellar/qmk/0.0.45/libexec/lib/python3.9/site-packages/milc/init.py)
System: MacOS Big Sur 11.2.1
The text was updated successfully, but these errors were encountered: