Jupyter NotebookでRustを扱う方法

Jupyter Notebook用のKernelを作ってくださった方がいるのでありがたく利用する。

github.com

`install.sh`の中にある`python install`が動作しなかったので、整理しておく。

$ git clone git@github.com:m0riiiii/jupyter-rust-kernel.git
$ cd jupyter-rust-kernel
$ jupyter-kernelspec install rust_spec/
$ python3 setup.py install --user

環境

$ uname -a
Linux ThinkPad-E14 5.10.102.1-microsoft-standard-WSL2 #1 SMP Wed Mar 2 00:30:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
$ python3 --version
Python 3.8.1