启动ipython出错_ipython 启动错误

[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'

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值