网站更新内容:请访问: https://bigdata.ministep.cn/

Jupyter-nodejs 安装

Jupyter-nodejs 安装

jupyter 是web的编辑器,直接多种内核,默认支持python;

 

nodejs支持

Windows (Anaconda Distribution)

macOS

In macOS, Homebrew and pip can be used to install IJavascript and its prerequisites:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install pkg-config node zeromq
sudo easy_install pip
pip install --upgrade pyzmq jupyter
npm install -g ijavascript
ijsinstall

n-riesco/ijavascript: IJavascript is a javascript kernel for the Jupyter notebook

 

补充

Jupyter Notebook | 蓝色的飘漂

使用Jupyter Notebook编写技术文档 - noticeable - 博客园

 

 

debug

 

BUG

**FileNotFoundError: [Errno 2] No such file or directory: 'ijskernel': 'ijskernel'**

Debug

ijsinstall --spec-path=full

 

ijs --version: 5.0.20
pip3 -V: pip 19.0.3 (python 3.7)
JuypterLab version: 0.35.4

Error:

螢幕快照 2019-05-23 下午1 15 06

Error Starting Kernel
Traceback (most recent call last):
File "/Users/yicheng/anaconda3/lib/python3.7/site-packages/tornado/web.py", line 1699, in _execute
  result = await result
File "/Users/yicheng/anaconda3/lib/python3.7/site-packages/tornado/gen.py", line 736, in run
  yielded = self.gen.throw(*exc_info) # type: ignore
File "/Users/yicheng/anaconda3/lib/python3.7/site-packages/notebook/services/sessions/handlers.py", line 73, in post
  type=mtype))
File "/Users/yicheng/anaconda3/lib/python3.7/site-packages/tornado/gen.py", line 729, in run
  value = future.result()
File "/Users/yicheng/anaconda3/lib/python3.7/site-packages/tornado/gen.py", line 736, in run
  yielded = self.gen.throw(*exc_info) # type: ignore
File "/Users/yicheng/anaconda3/lib/python3.7/site-packages/notebook/services/sessions/sessionmanager.py", line 79, in create_session
  kernel_id = yield self.start_kernel_for_session(session_id, path, name, type, kernel_name)
File "/Users/yicheng/anaconda3/lib/python3.7/site-packages/tornado/gen.py", line 729, in run
  value = future.result()
File "/Users/yicheng/anaconda3/lib/python3.7/site-packages/tornado/gen.py", line 736, in run
  yielded = self.gen.throw(*exc_info) # type: ignore
File "/Users/yicheng/anaconda3/lib/python3.7/site-packages/notebook/services/sessions/sessionmanager.py", line 92, in start_kernel_for_session
  self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_name)
File "/Users/yicheng/anaconda3/lib/python3.7/site-packages/tornado/gen.py", line 729, in run
  value = future.result()
File "/Users/yicheng/anaconda3/lib/python3.7/site-packages/tornado/gen.py", line 209, in wrapper
  yielded = next(result)
File "/Users/yicheng/anaconda3/lib/python3.7/site-packages/notebook/services/kernels/kernelmanager.py", line 160, in start_kernel
  super(MappingKernelManager, self).start_kernel(**kwargs)
File "/Users/yicheng/anaconda3/lib/python3.7/site-packages/jupyter_client/multikernelmanager.py", line 110, in start_kernel
  km.start_kernel(**kwargs)
File "/Users/yicheng/anaconda3/lib/python3.7/site-packages/jupyter_client/manager.py", line 259, in start_kernel
  **kw)
File "/Users/yicheng/anaconda3/lib/python3.7/site-packages/jupyter_client/manager.py", line 204, in _launch_kernel
  return launch_kernel(kernel_cmd, **kw)
File "/Users/yicheng/anaconda3/lib/python3.7/site-packages/jupyter_client/launcher.py", line 138, in launch_kernel
  proc = Popen(cmd, **kwargs)
File "/Users/yicheng/anaconda3/lib/python3.7/subprocess.py", line 775, in __init__
  restore_signals, start_new_session)
File "/Users/yicheng/anaconda3/lib/python3.7/subprocess.py", line 1522, in _execute_child
  raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'ijskernel': 'ijskernel'

OK

 

posted @ 2022-02-09 19:54  ministep88  阅读(318)  评论(0编辑  收藏  举报
网站更新内容:请访问:https://bigdata.ministep.cn/