title: Jupyter Notebook doesn't Uninstall package with pip
body: <p>I tried to remove a package with <code>pip</code> in a Jupyter notebook but it never finishes and I have to eventually restart the kernel without it uninstalling. I tried:</p>
  
  <pre class="lang-py prettyprint-override"><code>!python -m pip uninstall pyserial
  </code></pre>
  
  <p>I found out why it hangs up. When running it from the command line, it asks whether I want to uninstall with a <code>yes</code>/<code>no</code> required.</p>
  
  <pre><code>Uninstalling pyserial-3.4:
    Would remove:
      c:\Anaconda3\lib\site-packages\pyserial-3.4.dist-info\*
      c:\Anaconda3\lib\site-packages\serial\*
      c:\Anaconda3\scripts\miniterm.py
  Proceed (y/n)?
  </code></pre>
  
  <p>Perhaps the confirmation is a new feature of pip? It doesn't seem to be a problem in <a href="https://stackoverflow.com/questions/33412974/how-to-uninstall-a-package-installed-with-pip-install-user">How to uninstall a package installed with pip install --user</a>. Is there a way to insert a <code>yes</code> response from the Jupyter notebook to not block future cells from running?</p>