darktrojan/openwith

Issue with installation of python helper script

Opened this issue · 3 comments

% ./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

Exact same problem here with Catalina on a 2013 iMac.

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.

Thanks for the quick answer.