I am trying to create an Automator application, which allows me to convert Python script files
.py files to Jupyter Notebook files
.ipynb using Python script for command line jupytext. However, the following in the textbox of
Run Shell Scrip of Automator generates an error command not found.
for f in "$@" do jupytext --to notebook "$f" done
This is despite the fact that no such error occurs if I run the following in Terminal on Mac.
jupytext --to notebook <filename>.py
Does anyone has any ideas about what is/are missing?