qmk / homebrew-qmk

QMK Homebrew Formulae
MIT License
12 stars 11 forks source link

Error "Bad Interpreter" on Mac OS [Bug] #48

Closed android606 closed 1 year ago

android606 commented 1 year ago

Describe the Bug

  1. Start with a Mac that does not have python 3.10 installed
  2. install using homebrew qmk/qmk/qmk
  3. run qmk setup

Error message appears: /usr/local/bin/qmk: bad interpreter: /usr/local/Cellar/qmk/1.1.1/libexec/bin/python3.10: no such file or directory

Additional Context?

Notes

Reference I believe fixing this will fix qmk/qmk_firmware#19882

Workaround Manually installing python 3.10 with brew install python@3.10 works around this issue.

Thanks for the useful project!

android606 commented 1 year ago

brew install --rebuild-from-source qmk/qmk/qmk also works.

fauxpark commented 1 year ago

I've updated the formula, please try it now.

android606 commented 1 year ago

Yep, that fixed it. Thanks!