evcxr_repl
Rust REPL(Read-Eval-Print loop)
安装
$ rustup component add rust-src
$ cargo install evcxr_repl
测试
$ evcxr
Welcome to evcxr. For help, type :help
>>
evcxr_jupyter
Rust 的Jupyter Kernel
安装
Linux (Debian/Ubuntu)
rustup component add rust-src
sudo apt install jupyter-notebook cmake build-essential
cargo install evcxr_jupyter
evcxr_jupyter --install
Mac OS X
通过anaconda先安装jupyter 或 jupyterlab
安装cmake
cargo install evcxr_jupyter
evcxr_jupyter --install
或
brew install zeromq pkg-config
cargo install evcxr_jupyter --no-default-features
evcxr_jupyter --install
测试
jupyter-notebook
访问 localhost:8888

本文介绍如何在Linux和MacOSX环境下安装和使用Rust的交互式开发环境evcxr_repl及Jupyter内核evcxr_jupyter。通过简单的命令行指令即可完成安装配置,并能在Jupyter Notebook中运行Rust代码。
483

被折叠的 条评论
为什么被折叠?



