JuypterLab支持Go、Java、JavaScript、Rust交互式编程
成果
安装jupyterlab
请自行提前安装和配置各种语言的开发环境
pip install jupyterlab
#启动
jupyter lab
安装rust
# 如有必要进行rustup update 更新
cargo install evcxr_jupyter
evcxr_jupyter --install
安装nodejs
GitHub - n-riesco/ijavascript: IJavascript is a javascript kernel for the Jupyter notebook
# 安装对js的支持
npm i -g ijavascript
# 加载到jupyterlab
ijsinstall
安装Java
Releases · SpencerPark/IJava (github.com)
# 下载压缩包ijava.zip
https://github.com/SpencerPark/IJava/releases
# 执行安装脚本
python install.py
安装Go
GitHub - gopherdata/gophernotes: The Go kernel for Jupyter notebooks and nteract.
go install github.com/gopherdata/gophernotes@v0.7.5
mkdir -p ~/Library/Jupyter/kernels/gophernotes
cd ~/Library/Jupyter/kernels/gophernotes
cp "$(go env GOPATH)"/pkg/mod/github.com/gopherdata/gophernotes@v0.7.5/kernel/* "."
chmod +w ./kernel.json # in case copied kernel.json has no write permission
sed "s|gophernotes|$(go env GOPATH)/bin/gophernotes|" < kernel.json.in > kernel.json