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

Installing kernel #5804

Closed
rgbkrk opened this issue Aug 7, 2017 · 5 comments
Closed

Installing kernel #5804

rgbkrk opened this issue Aug 7, 2017 · 5 comments
Assignees

Comments

@rgbkrk
Copy link

rgbkrk commented Aug 7, 2017

Following the readme, I installed beakerx and enabled the extension. How do I install the kernels (Scala, Kotlin, etc.)?

@scottdraves
Copy link
Contributor

scottdraves commented Aug 7, 2017

Hi Kyle, the pip install doesn't install the kernels, you also need to do something like what's discussed in #5720, in particular:

jupyter kernelspec install --sys-prefix --replace --name scala /Users/spot/anaconda/envs/testx/lib/python3.5/site-packages/beakerx/static/kernel/scala

but with a different prefix. the cms for other languages are constructed the same way.

@rgbkrk
Copy link
Author

rgbkrk commented Aug 7, 2017

Thanks!

I suppose there's more I'll need as well:

Error: Could not find or load main class com.twosigma.beakerx.scala.kernel.Scala
[I 14:29:25.918 NotebookApp] KernelRestarter: restarting kernel (1/5)
Error: Could not find or load main class com.twosigma.beakerx.scala.kernel.Scala
[I 14:29:28.928 NotebookApp] KernelRestarter: restarting kernel (2/5)
Error: Could not find or load main class com.twosigma.beakerx.scala.kernel.Scala
[I 14:29:31.936 NotebookApp] KernelRestarter: restarting kernel (3/5)
Error: Could not find or load main class com.twosigma.beakerx.scala.kernel.Scala
[W 14:29:32.940 NotebookApp] Timeout waiting for kernel_info reply from 759e137c-ad87-4cf3-9827-cd9e75ce0ce0
[I 14:29:34.943 NotebookApp] KernelRestarter: restarting kernel (4/5)
WARNING:root:kernel 759e137c-ad87-4cf3-9827-cd9e75ce0ce0 restarted
Error: Could not find or load main class com.twosigma.beakerx.scala.kernel.Scala
[W 14:29:37.952 NotebookApp] KernelRestarter: restart failed
[W 14:29:37.952 NotebookApp] Kernel 759e137c-ad87-4cf3-9827-cd9e75ce0ce0 died, removing from map.
ERROR:root:kernel 759e137c-ad87-4cf3-9827-cd9e75ce0ce0 restarted failed!
[W 14:29:37.967 NotebookApp] Kernel deleted before session
[W 14:29:37.967 NotebookApp] 410 DELETE /api/sessions/aa9d6ab1-03d9-4ddd-915b-f11c97ecfd76 (::1) 2.00ms referer=http://localhost:8888/notebooks/Untitled1.ipynb?kernel_name=scalax

Would I need more set on my path to find the main class?

@scottdraves
Copy link
Contributor

you can follow the thread in the other issue -- but basically "conda install -c beakerx beakerx" works and pip does not.

@rgbkrk
Copy link
Author

rgbkrk commented Aug 7, 2017

Ah great, I should be able to fix that manually so I can at least work with the kernel. Thanks Scott!

@scottdraves
Copy link
Contributor

readme fixed 2593494

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

No branches or pull requests

2 participants