igor
igor

Reputation: 81

How to set default kernel or specify it when execute in a shell

I want to execute and convert notebook. I have 2 kernels - python2 and python3. But when i execute this shell command, it uses python2 when i want python3 kernel.

jupyter nbconvert --to html --ExecutePreprocessor.timeout=-1 --execute myfile.ipynb

How to change default kernel or specify it in a command ?

Upvotes: 0

Views: 2171

Answers (1)

igor
igor

Reputation: 81

--ExecutePreprocessor.kernel_name=

Name of kernel can be looked here: jupyter kernelspec list

Upvotes: 1

Related Questions