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

kernel doesn't show after installation #838

Open
eromoe opened this issue Jun 15, 2021 · 4 comments
Open

kernel doesn't show after installation #838

eromoe opened this issue Jun 15, 2021 · 4 comments

Comments

@eromoe
Copy link

eromoe commented Jun 15, 2021

env:

  • windows10
  • anaconda jupyterlab
> bitsadmin /transfer downloadCoursierCli https://git.io/coursier-cli "%cd%\coursier"
> bitsadmin /transfer downloadCoursierBat https://git.io/coursier-bat "%cd%\coursier.bat"
> .\coursier launch --fork almond -- --install

I restart jupyter after installation, but no new kernel show up .

jupyter kernelspec list:

Available kernels:
  python38264bitquantcondaee918261d1ee49fbabea13935098884c   
 C:\Users\XXX\AppData\Roaming\jupyter\kernels\python38264
bitquantcondaee918261d1ee49fbabea13935098884c
  python3                                                     D:\anaconda3\share\jupyter\kernels\python3
@jdonnelly-apixio
Copy link

I'm hitting this issue as well.

NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
curl -Lo /usr/local/bin/coursier https://git.io/coursier-cli && \
    chmod +x /usr/local/bin/coursier && \
    /usr/local/bin/coursier launch --fork almond:0.10.9 --scala 2.12 -- --install && \
    rm -f /usr/local/bin/coursier

@jdonnelly-apixio
Copy link

Or.. this helped:

# ./coursier launch --fork almond:0.10.9 --scala 2.12 -- --install --global
Installed scala kernel under /usr/local/share/jupyter/kernels/scala
(base) root@2c21b167befd:/tmp# jupyter kernelspec list
Available kernels:
  python3          /opt/conda/share/jupyter/kernels/python3
  scala            /usr/local/share/jupyter/kernels/scala
  spylon-kernel    /usr/local/share/jupyter/kernels/spylon-kernel

@jdonnelly-apixio
Copy link

Actually, scala didn't work with just that. I also needed to do this shared cache stuff, else:

(base) jovyan@jupyter-server-v7-0:~$ java -jar /usr/local/share/jupyter/kernels/scala/launcher.jar --connection-file /home/jovyan/.local/share/jupyter/runtime/kernel-99aea8c3-a10b-4dd3-a7ff-5d0e5edfe0e9.json
Error: class almond.ScalaKernel not found

@Swalloow
Copy link

If it still doesn't work, try installing jdk-11.

apt-get install -y openjdk-11-jre-headless

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

3 participants