Jupyter notebook can't find kernel when run through /etc/rc.local
问题 I have a Jupyter Notebook server on an EC2 instance with python2 (default) and ITorch kernels. Everything works fine when run through SSH command line. The problem is that when I try to make this run at startup, the notebook server can't find ITorch kernel. I does work fine for python notebooks though. The error I get is a window saying Kernel not found I couldn't find a kernel matching iTorch. Please select a kernel: (python2) What I did was adding this line to /etc/rc.local /home/ubuntu