
brew install python3した後に、AppleScriptで以下のようなコマンドを書いた。
do shell script "python3 hoge/fuga.sh"しかし、command not foundとなり実行不可。
Python3をフルパスで書くと、AppleScriptからPython3を実行することができた。
$ which python3
/usr/local/bin/python3do shell script "/usr/local/bin/python3 hoge/fuga.sh"pyenvを使っている場合は /Users/hoge/.pyenv/shims/python3 になる。
 
  
  
  
  

コメント