Executing a Jupyter Notebook from the Command Line with a Specified Kernel

19 views Asked by At

My goal is to use jupyter execute ./file.ipynb script in the command line but specify which kernel to run it with. Not sure how to do this, online keeps pointing me to nbconvert which I don't think I need. I will be running the script with an .sh file called run-notebook.sh which I activated via chmod.

Related question - do I need to activate my venv when running /User/Documents/run-notebook.sh?

0

There are 0 answers