Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to make evcxr a rust jupyter kernel on Mac OS X #17

Closed
Congee opened this issue Sep 30, 2018 · 4 comments
Closed

Document how to make evcxr a rust jupyter kernel on Mac OS X #17

Congee opened this issue Sep 30, 2018 · 4 comments

Comments

@Congee
Copy link

Congee commented Sep 30, 2018

I confirm evcxr_jupyter works on my mac box. But I spent more time than expected to make it work because I couldn't find any relevant documentation.

Below is what should be added to the docs.

$ brew install zmq
$ evcxr_jupyter --install
Writing /Users/CC/Library/Application Support/jupyter/kernels/rust/kernel.json
Installation complete
$ jupyter  kernelspec install ~/Library/Application\ Support/jupyter/kernels/rust
[InstallKernelSpec] Removing existing kernelspec in /usr/local/share/jupyter/kernels/rust
[InstallKernelSpec] Installed kernelspec rust in /usr/local/share/jupyter/kernels/rust
@kbarros
Copy link

kbarros commented Oct 1, 2018

Alternatively, if you

mv /Users/$USER/Library/Application\ Support/jupyter/kernels/rust /Users/$USER/Library/Jupyter/kernels/

then it is not necessary to run the jupyter kernelspec install command.

This suggests to me that the evcxr_jupyter --install command should be installing to a different directory on OS X? I'm using Jupyter 4.4.0.

Edit. Perhaps the above only works because I already had Julia kernel support installed at that location.

@Congee
Copy link
Author

Congee commented Oct 2, 2018

FYI, I am using jupyter 4.4.0 and Mac OS X 10.11.6

@davidlattimore
Copy link
Collaborator

Thanks for filing this bug. I think this is fixed by #22. Feel free to reopen, or send a PR if you think there's anything else missing.

@rootex-
Copy link

rootex- commented Nov 17, 2022

I confirm evcxr_jupyter works on my mac box. But I spent more time than expected to make it work because I couldn't find any relevant documentation.

Below is what should be added to the docs.

$ brew install zmq
$ evcxr_jupyter --install
Writing /Users/CC/Library/Application Support/jupyter/kernels/rust/kernel.json
Installation complete
$ jupyter  kernelspec install ~/Library/Application\ Support/jupyter/kernels/rust
[InstallKernelSpec] Removing existing kernelspec in /usr/local/share/jupyter/kernels/rust
[InstallKernelSpec] Installed kernelspec rust in /usr/local/share/jupyter/kernels/rust

Thanks to @Congee, this helped me to configure rust jupyter for jupyter notebook.

@davidlattimore, still a bug. Instructions described here https://github.com/google/evcxr/blob/main/evcxr_jupyter/README.md
were not enough to make jupyter notebook work with Rust.

davidlattimore added a commit that referenced this issue Nov 17, 2022
These got lost during a recent update to the documentation.

Fixes #17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants