[paulsweet123@localhost ~]$ ipython notebook
[TerminalIPythonApp] WARNING | Subcommand `ipython notebook` is deprecated and will be removed in future versions.
[TerminalIPythonApp] WARNING | You likely want to use `jupyter notebook` in the future
[W 17:18:27.494 NotebookApp] Unrecognized JSON config file version, assuming version 1
[I 17:18:27.680 NotebookApp] [nb_conda_kernels] enabled, 1 kernels found
[I 17:18:27.688 NotebookApp] Writing notebook server cookie secret to /run/user/1000/jupyter/notebook_cookie_secret
Traceback (most recent call last):
File "/home/paulsweet123/anaconda2/bin/ipython", line 6, in <module>
sys.exit(IPython.start_ipython())
File "/home/paulsweet123/anaconda2/lib/python2.7/site-packages/IPython/__init__.py", line 119, in start_ipython
return launch_new_instance(argv=argv, **kwargs)
File "/home/paulsweet123/anaconda2/lib/python2.7/site-packages/traitlets/config/application.py", line 595, in launch_instance
app.initialize(argv)
File "<decorator-gen-111>", line 2, in initialize
File "/home/paulsweet123/anaconda2/lib/python2.7/site-packages/traitlets/config/application.py", line 74, in catch_config_error
return method(app, *args, **kwargs)
File "/home/paulsweet123/anaconda2/lib/python2.7/site-packages/IPython/terminal/ipapp.py", line 296, in initialize
super(TerminalIPythonApp, self).initialize(argv)
File "<decorator-gen-7>", line 2, in initialize
File "/home/paulsweet123/anaconda2/lib/python2.7/site-packages/traitlets/config/application.py", line 74, in catch_config_error
return method(app, *args, **kwargs)
File "/home/paulsweet123/anaconda2/lib/python2.7/site-packages/IPython/core/application.py", line 397, in initialize
self.parse_command_line(argv)
File "/home/paulsweet123/anaconda2/lib/python2.7/site-packages/IPython/terminal/ipapp.py", line 291, in parse_command_line
return super(TerminalIPythonApp, self).parse_command_line(argv)
File "<decorator-gen-4>", line 2, in parse_command_line
File "/home/paulsweet123/anaconda2/lib/python2.7/site-packages/traitlets/config/application.py", line 74, in catch_config_error
return method(app, *args, **kwargs)
File "/home/paulsweet123/anaconda2/lib/python2.7/site-packages/traitlets/config/application.py", line 488, in parse_command_line
return self.initialize_subcommand(subc, subargv)
File "/home/paulsweet123/anaconda2/lib/python2.7/site-packages/IPython/core/application.py", line 207, in initialize_subcommand
return super(BaseIPythonApplication, self).initialize_subcommand(subc, argv)
File "<decorator-gen-3>", line 2, in initialize_subcommand
File "/home/paulsweet123/anaconda2/lib/python2.7/site-packages/traitlets/config/application.py", line 74, in catch_config_error
return method(app, *args, **kwargs)
File "/home/paulsweet123/anaconda2/lib/python2.7/site-packages/traitlets/config/application.py", line 426, in initialize_subcommand
self.subapp.initialize(argv)
File "<decorator-gen-115>", line 2, in initialize
File "/home/paulsweet123/anaconda2/lib/python2.7/site-packages/traitlets/config/application.py", line 74, in catch_config_error
return method(app, *args, **kwargs)
File "/home/paulsweet123/anaconda2/lib/python2.7/site-packages/notebook/notebookapp.py", line 1071, in initialize
self.init_webapp()
File "/home/paulsweet123/anaconda2/lib/python2.7/site-packages/notebook/notebookapp.py", line 892, in init_webapp
self.jinja_environment_options
File "/home/paulsweet123/anaconda2/lib/python2.7/site-packages/notebook/notebookapp.py", line 132, in __init__
default_url, settings_overrides, jinja_env_options)
File "/home/paulsweet123/anaconda2/lib/python2.7/site-packages/notebook/notebookapp.py", line 187, in init_settings
cookie_secret=ipython_app.cookie_secret,
File "/home/paulsweet123/anaconda2/lib/python2.7/site-packages/traitlets/traitlets.py", line 529, in __get__
return self.get(obj, cls)
File "/home/paulsweet123/anaconda2/lib/python2.7/site-packages/traitlets/traitlets.py", line 508, in get
value = self._validate(obj, dynamic_default())
File "/home/paulsweet123/anaconda2/lib/python2.7/site-packages/notebook/notebookapp.py", line 498, in _cookie_secret_default
self._write_cookie_secret_file(secret)
File "/home/paulsweet123/anaconda2/lib/python2.7/site-packages/notebook/notebookapp.py", line 504, in _write_cookie_secret_file
with io.open(self.cookie_secret_file, 'wb') as f:
IOError: [Errno 13] Permission denied: '/run/user/1000/jupyter/notebook_cookie_secret'