title: Ipython Kernel Restart
body: <p>Well , I had this problem of Restarting kernel periodically so tried to upgrade ipython and successfully upgraded . But then now I am trying to open ipython notebook </p>
  
  <blockquote>
    <p>ipython notebook --pylab inline</p>
  </blockquote>
  
  <p>So I am getting Following Error </p>
  
  <blockquote>
    <p>Traceback (most recent call last):
      File "/usr/local/bin/ipython", line 9, in 
        load_entry_point('ipython==2.2.0', 'console_scripts', 'ipython')()
      File "/usr/local/lib/python2.7/dist-packages/ipython-2.2.0-py2.7.egg/IPython/<strong>init</strong>.py", line 120, in start_ipython
        return launch_new_instance(argv=argv, **kwargs)
      File "/usr/local/lib/python2.7/dist-packages/ipython-2.2.0-py2.7.egg/IPython/config/application.py", line 563, in launch_instance
        app.initialize(argv)
      File "", line 2, in initialize
      File "/usr/local/lib/python2.7/dist-packages/ipython-2.2.0-py2.7.egg/IPython/config/application.py", line 92, in catch_config_error
        return method(app, *args, **kwargs)
      File "/usr/local/lib/python2.7/dist-packages/ipython-2.2.0-py2.7.egg/IPython/terminal/ipapp.py", line 321, in initialize
        super(TerminalIPythonApp, self).initialize(argv)
      File "", line 2, in initialize
      File "/usr/local/lib/python2.7/dist-packages/ipython-2.2.0-py2.7.egg/IPython/config/application.py", line 92, in catch_config_error
        return method(app, *args, **kwargs)
      File "/usr/local/lib/python2.7/dist-packages/ipython-2.2.0-py2.7.egg/IPython/core/application.py", line 381, in initialize
        self.parse_command_line(argv)
      File "/usr/local/lib/python2.7/dist-packages/ipython-2.2.0-py2.7.egg/IPython/terminal/ipapp.py", line 316, in parse_command_line
        return super(TerminalIPythonApp, self).parse_command_line(argv)
      File "", line 2, in parse_command_line
      File "/usr/local/lib/python2.7/dist-packages/ipython-2.2.0-py2.7.egg/IPython/config/application.py", line 92, in catch_config_error
        return method(app, *args, **kwargs)
      File "/usr/local/lib/python2.7/dist-packages/ipython-2.2.0-py2.7.egg/IPython/config/application.py", line 475, in parse_command_line
        return self.initialize_subcommand(subc, subargv)
      File "", line 2, in initialize_subcommand
      File "/usr/local/lib/python2.7/dist-packages/ipython-2.2.0-py2.7.egg/IPython/config/application.py", line 92, in catch_config_error
        return method(app, *args, **kwargs)
      File "/usr/local/lib/python2.7/dist-packages/ipython-2.2.0-py2.7.egg/IPython/config/application.py", line 406, in initialize_subcommand
        subapp = import_item(subapp)
      File "/usr/local/lib/python2.7/dist-packages/ipython-2.2.0-py2.7.egg/IPython/utils/importstring.py", line 42, in import_item
        module = <strong>import</strong>(package, fromlist=[obj])
      File "/usr/local/lib/python2.7/dist-packages/ipython-2.2.0-py2.7.egg/IPython/html/notebookapp.py", line 60, in 
        raise ImportError(msg + ", but you have %s" % tornado.version)
    ImportError: The IPython Notebook requires tornado >= 3.1.0, but you have 2.3</p>
  </blockquote>
  
  <p>So I tried To install tornado ,</p>
  
  <blockquote>
    <p>sudo pip install tornado </p>
  </blockquote>
  
  <p>Its giving me following message</p>
  
  <blockquote>
    <p>Requirement already satisfied (use --upgrade to upgrade): tornado in /usr/lib/python2.7/dist-packages
    Cleaning up...</p>
  </blockquote>
  
  <p>What I understood is my python version isn't satisfying the requirements or I have two versions of python.. How to end everything to Latest version ?
  The following is my OS details </p>
  
  <blockquote>
    <p>Linux mint 12.10, Quantal Quetzal</p>
  </blockquote>