darktrojan / openwith

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

Issue with installation of python helper script #307

Open cloudyafternoon opened 3 years ago

cloudyafternoon commented 3 years ago
% ./open_with_mac.py install
Traceback (most recent call last):
  File "./open_with_mac.py", line 151, in <module>
    install()
  File "./open_with_mac.py", line 77, in install
    os.makedirs(location, exist_ok=True)
TypeError: makedirs() got an unexpected keyword argument 'exist_ok'
% python --version
Python 2.7.16

On a MacBook Pro M1. Big sur 11.5.1

defrilitus commented 3 years ago

Exact same problem here with Catalina on a 2013 iMac.

darktrojan commented 3 years ago

You'll need to use Python 3 (python3 open_with_mac.py install should do it). I'll need to get around to updating a bunch of things so this happens automatically.

defrilitus commented 3 years ago

Thanks for the quick answer.