title: Jupyter - Python 3 kernel dies
body: <p>Fedora 21, default Python is 2.7, 3.x installed, originally installed iPython,  now have also installed Jupyter</p>
  
  <p>When I try to use the Python3 kernel from Jupyter notebook, I get a message saying the kernel has died, attempting restart.  Naturally restart never succeeds.</p>
  
  <p>Tried following these 2 terminal commands</p>
  
  <p>ipython kernelspec install-self</p>
  
  <p>ipython3 kernelspec install-self</p>
  
  <p>first command executes without error.  second gives this error
  ipython3 kernelspec install-self</p>
  
  <p>I used iPython with Python 3 kernel in the past, before installing Jupyter.  I don't remember installing ipython3 to do so.</p>
  
  <p>Suggestions how to resolve?  I have searched and the above was the only suggestion I found that was not based on using Anaconda.  </p>
  
  <p>Also, I do have kernel.json at
  ~/.ipython/kernels/python3</p>
  
  <p>thank you</p>
  
  <p>UPDATE
  last output on terminal when kernel dies</p>
  
  <p>ImportError: No module named 'ptyprocess'</p>
  
  <p>UPDATE2 traceback error</p>
  
  <pre><code>[xxxxx@localhost ~]$ sudo ipython3 kernelspec install-self
  Traceback (most recent call last):
    File "/bin/ipython3", line 7, in &lt;module&gt;
      from IPython import start_ipython
    File "/usr/lib/python3.4/site-packages/IPython/__init__.py", line 47, in &lt;module&gt;
      from .core.application import Application
    File "/usr/lib/python3.4/site-packages/IPython/core/application.py", line 24, in &lt;module&gt;
      from IPython.core import release, crashhandler
    File "/usr/lib/python3.4/site-packages/IPython/core/crashhandler.py", line 28, in &lt;module&gt;
      from IPython.core import ultratb
    File "/usr/lib/python3.4/site-packages/IPython/core/ultratb.py", line 116, in &lt;module&gt;
      from IPython.utils import path as util_path
    File "/usr/lib/python3.4/site-packages/IPython/utils/path.py", line 19, in &lt;module&gt;
      from IPython.utils.process import system
    File "/usr/lib/python3.4/site-packages/IPython/utils/process.py", line 19, in &lt;module&gt;
      from ._process_posix import system, getoutput, arg_split, check_pid
    File "/usr/lib/python3.4/site-packages/IPython/utils/_process_posix.py", line 24, in &lt;module&gt;
      import pexpect
    File "/usr/lib/python3.4/site-packages/pexpect/__init__.py", line 75, in &lt;module&gt;
      from .pty_spawn import spawn, spawnu
    File "/usr/lib/python3.4/site-packages/pexpect/pty_spawn.py", line 11, in &lt;module&gt;
      import ptyprocess
  ImportError: No module named 'ptyprocess'
  </code></pre>
  
  <p>UPDATE3:
  after installing ptyprocess with pip3 new error when trying to create notebook with Python 3...No module named 'path'</p>
  
  <pre><code>[I 22:29:26.125 NotebookApp] KernelRestarter: restarting kernel (4/5)
  WARNING:root:kernel 1ae58a7d-096b-4dc1-b29a-bee4385e4e9a restarted
  Traceback (most recent call last):
    File "&lt;string&gt;", line 1, in &lt;module&gt;
    File "/usr/lib/python3.4/site-packages/IPython/__init__.py", line 48, in &lt;module&gt;
      from .terminal.embed import embed
    File "/usr/lib/python3.4/site-packages/IPython/terminal/embed.py", line 16, in &lt;module&gt;
      from IPython.core.interactiveshell import DummyMod
    File "/usr/lib/python3.4/site-packages/IPython/core/interactiveshell.py", line 31, in &lt;module&gt;
      from pickleshare import PickleShareDB
    File "/usr/lib/python3.4/site-packages/pickleshare.py", line 41, in &lt;module&gt;
      from path import path as Path
  ImportError: No module named 'path'
  [W 22:29:29.137 NotebookApp] KernelRestarter: restart failed
  </code></pre>