-
-
Notifications
You must be signed in to change notification settings - Fork 37.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] AttributeError: module 'idna' has no attribute 'IDNAError'
when I run qmk
#23893
Comments
I tried the advice in a now-deleted comment, but I didn't actually do anything with it and just uninstalled it after clicking through the email back to this page. I didn't try running
|
I'm not actually sure what the problem here is, but I know for a fact that installing The only thing I can really suggest is that there is something wrong with your environment and nuking your Brew install entirely may fix it. |
It resolved the issue for me. Afterward, the compiler tool chain could not be found, so I needed to |
Well, this is the boat I'm in. |
Sure, but it is not the correct solution, because the package the error is coming from (jsonschema) does not actually require As you can see here this entire block is wrapped in a Because the CLI is confirmed working without need for this IDNA package, and I can't reproduce this error on my own, I can only guess that there is simply something wrong with your Brew install, or your environment at large. As far as I can tell this is not a problem with the QMK CLI or formula. Please make sure your qmk_firmware repo is up to date, your Brew install is up to date and clean (run |
Looks like Python is finding some |
This seems also to work:
Weirdly idna was present in my python site-packages but not listed as installed by pip nor brew, so no idea where it came from. Installing + uninstalling with pip resolved it for me. |
I can confirm that brew uninstall python-idna
pip3 install --break-system-packages idna
pip3 uninstall --break-system-packages idna also worked for me. Go figure. Thanks everyone for the help debugging! |
Describe the Bug
I wanted to update my keyboard layout by adding another Caps Lock key (long story), so I ran
qmk userspace-compile
. However, I got the following error:I get this error whenever I run
qmk
, no matter what I put after it, whether it's nothing,userspace-compile
, or--help
.Keyboard Used
ergodox_ez
Link to product page (if applicable)
No response
Operating System
macOS 14.5 (Sonoma)
qmk doctor Output
Is AutoHotKey / Karabiner installed
Other keyboard-related software installed
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: