我刚在MAC OS上安装了Anaconda2.1.0(x86_64)作为我的课程之一。在
()安装正常
()路径已更新
()运行了以下命令,似乎一切正常。在conda update conda
conda update ipython
conda update pip
conda install bokeh
()版本查询返回
^{pr2}$
按照指示,我应该安装笔记本电脑包。
但是我得到了以下错误XXXXX@Admins-MacBook-Pro ~ $ jupyter notebook
Error executing Jupyter command 'notebook': [Errno 2] No such file or directory
conda list只有ipython笔记本
在gsandhu@Admins MacBook Pro~$conda list | grep笔记本
ipython笔记本2.2.0 py27_0
以前我试着用“pip install jupyter”更新jupyter,我可以启动笔记本,但后来内核出现了问题。所以我卸载了所有的东西,从fresh开始。在
有谁能帮我解决这个问题吗?提前谢谢
添加更多详细信息
之后如果我做“pip install jupyter”。我可以启动记事本,但马上在内核中出现以下错误。在File "/Users/gsandhu/anaconda/lib/python2.7/runpy.py", line 174, in
_run_module_as_main
"__main__", fname, loader, pkg_name)
File "/Users/gsandhu/anaconda/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Users/gsandhu/anaconda/lib/python2.7/site-
packages/ipykernel_launcher.py", line 16, in
app.launch_new_instance()
File "/Users/gsandhu/anaconda/lib/python2.7/site-
packages/traitlets/config/application.py", line 657, in launch_instance
app.initialize(argv)
File "", line 2, in initialize
File "/Users/gsandhu/anaconda/lib/python2.7/site-
packages/traitlets/config/application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "/Users/gsandhu/anaconda/lib/python2.7/site-
packages/ipykernel/kernelapp.py", line 448, in initialize
self.init_sockets()
File "/Users/gsandhu/anaconda/lib/python2.7/site-
packages/ipykernel/kernelapp.py", line 251, in init_sockets
self.init_iopub(context)
File "/Users/gsandhu/anaconda/lib/python2.7/site-
packages/ipykernel/kernelapp.py", line 259, in init_iopub
self.iopub_thread = IOPubThread(self.iopub_socket, pipe=True)
File "/Users/gsandhu/anaconda/lib/python2.7/site-
packages/ipykernel/iostream.py", line 66, in __init__
self.io_loop = IOLoop(make_current=False)
File "/Users/gsandhu/anaconda/lib/python2.7/site-packages/tornado/util.py",
line 208, in __new__
instance.initialize(**args)
File "/Users/gsandhu/anaconda/lib/python2.7/site-
packages/zmq/eventloop/ioloop.py", line 133, in initialize
super(ZMQIOLoop, self).initialize(impl=impl, **kwargs)
TypeError: initialize() got an unexpected keyword argument 'make_current'
[W 22:57:04.292 NotebookApp] KernelRestarter: restart failed