ali-rantakari / icalBuddy

Command-line utility for printing events and tasks from the OS X calendar database.
149 stars 33 forks source link

Apple removed Python2 from MacOS Monterrey 12.3 and installer no longer works #38

Open pvarela opened 2 years ago

pvarela commented 2 years ago

I no longer have a python command since Apple removed its version 2 from Monterey 12.3 and the installer does not work now. I tried to just change the hashbang call to /usr/bin/python3 but there are some syntax errors in the script to be proccesses as Python3 (at least one print command without parenthesis):

   File "/Users/xxx/Downloads/icalBuddy-v1.8.8/install.command", line 102
     print red('Can not find file: ')+cyan(sourcepath)
           ^
 SyntaxError: invalid syntax
BobPetry commented 2 years ago

I have the same issue. I went through and updated the installer script to reference python3 and fixed all the print commands. Usually this is enough in my experience to get python3 to run. Unfortunately not in this case. I'm now running into the following error: line 53, in find_already_installed_prefix found_path = p.communicate()[0].strip('\n')

I'm not sure how to get past this. (or what errors come next)

a shame because icalBuddy was a key part of my work set-up.

BobPetry commented 2 years ago

See issue #27:
I had success installing via brew. It looks like the man page was not included but otherwise seems to function fine.