macedotavares / obsidian-utilities

An Alfred workflow focusing on quick entry and logging.
https://github.com/macedotavares/obsidian-utilities
GNU General Public License v3.0
169 stars 7 forks source link

Error executing task flow #9

Closed heliostatic closed 3 years ago

heliostatic commented 3 years ago
CleanShot 2021-01-19 at 17 08 25@2x

Ah, now the issue is zsh: ./append_to_heading.py: bad interpreter: /usr/bin/python3: no such file or directory because my python is at /usr/local/bin/python3 -- this is the default for homebrew installation -- how is yours installed, and maybe I'll just switch to/emulate that? For now, ln -s should fix it.

macedotavares commented 3 years ago

Man, that's nasty. I pointed to /usr/bin/python3 because that's the default macOS interpreter, and the only one I thought would be present in every machine. Now I'm afraid a lot more people will face the same issue. 🤦‍♂️

Did homebrew delete the other interpreter? I don't use it anymore, but I thought it didn't touch the default installation.

heliostatic commented 3 years ago

Two follow ups:

  1. I'm on Mojave still, so no python3 in in /usr/bin
  2. Can't symlink anything there because of System Integrity Protection.

Current thought is to just update to Catalina at least. You should probably make a note about 10.15 or above being required :)

macedotavares commented 3 years ago

Ok, that settles it. I'm afraid most of the python scripts would be hard to adapt, because python 2.* has very sucky Unicode support. So 10.15+ it must be.

Thanks for your help!