darktrojan / openwith

Open With add-on for Firefox
https://addons.mozilla.org/addon/open-with/
412 stars 70 forks source link

macOS brew-installed python path #280

Open krzysztofjeziorny opened 4 years ago

krzysztofjeziorny commented 4 years ago

Maybe it'll be useful for someone:

It may very well be my own fiddling with PATH, but the script's standard #!/usr/bin/env python makes the Open With installation non-working. Changing the shebang to #!/usr/local/bin/python3 where it is located when installed with brew fixes the issue and Open With is working again.

macOS 10.15.6 Firefox 80.0.1 Open With 7.2.2

tbrodbeck commented 4 years ago

Thank you this helped me!

chupi33 commented 3 years ago

oooohhhh tks !!!!!

akash-258 commented 3 years ago

Thanks works in Bigsur 11.6. When doing whereis python3 it showed me /usr/bin/python3 instead of /usr/local/bin/python3