How to close IPython Notebook properly?
Currently, I just close the browser tabs and then use Ctrl+C in the terminal. Unfortunately, neither e
Ctrl+C
e
These commands worked for me:
jupyter notebook list # shows the running notebooks and their port-numbers # (for instance: 8080) lsof -n -i4TCP:[port-number] # shows PID. kill -9 [PID] # kill the process.
This answer was adapted from here.