What to do when Jupyter suddenly hangs?
<p>I'm using Jupyter notebook 4.0.6 on OSX El Capitan. </p>

<p>Once in a while I'll start running a notebook and the cell will simply hang, with a <code>[ * ]</code> next to it and no output.</p>

<p>When this happens, I find that only killing Jupyter at the command line and restarting it solves the problem. Relaunching the kernel doesn't help. </p>

<p>Has anyone else had this problem? If so, any tips?</p>

<p>I use Jupyter Notebook 4.2.3 on OSX El Capitan, so I might not be really helpful, but at least I can try to guess. </p>

<p>[*] basically means that something is going on, so if you are running a script with some complicated computations, you'd better wait a little bit. </p>

<p>To make sure, you may try to use a loading bar that can help you to control the process. A good one is suggested <a href="https://github.com/noamraph/tqdm" rel="nofollow">here</a>.
Otherwise, you can check out other notebooks with loading bars illustrating any processes by default. <a href="https://zeppelin.apache.org/" rel="nofollow">Apache Zeppelin</a> should have such feature. </p>

python osx jupyter-notebook