Pythonをターミナルから実行できるが、Automatorで正常に実行できない
参考サイト:https://teratail.com/questions/279608
エラー文
アクション“シェルスクリプトを実行”でエラーが起きました: “Traceback (most recent call last):
File "goods.py", line 4, in <module>
import chromedriver_binary
ModuleNotFoundError: No module named 'chromedriver_binary'”
実行している環境が違う為エラーが表示される
/bin/zsh
which python3 👈 ここでpython3の場所を特定
>> /usr/local/bin/python3 👈 結果をpython3のところに置き換える
Aotomator
/usr/local/bin/python3 helloworld.py
これで無事実行できました。