Kernel install failure. Cannot find default main class. [Linux]
See original GitHub issueI have been attempting to install almond on linux by following the instructions found at: https://almond.sh/docs/quick-start-install
(1) Running the command ./coursier launch --fork almond -- --install
results in the error:
Cannot find default main class. Specify one with -M or --main-class.
(2) Running again as ./coursier launch --fork almond -M almond.ScalaKernel -- --install
reports:
Installed scala kernel under /home/myuser/.local/share/jupyter/kernels/scala
After (2) I do see a scala kernel option in Jupyter, but clicking it results in a 500 Internal Server Error
.
==> Kernel install failure.
Issue Analytics
- State:
- Created 2 years ago
- Comments:9
Top Results From Across the Web
almond-sh/almond - Gitter
Hi, I am trying to install almond for jupyter notebook running on archliunux. I get the error Cannot find default main class. Specify...
Read more >Options - almond
System-wide kernels get installed under /usr/local/share/jupyter/kernels (Linux and OS X). User-wide ones (default) under ~/.local/share/jupyter/kernels ...
Read more >Yum update kernel does not boot into new kernel and /boot ...
Hello, We are running RHEL 7.3. We updated using yum update to latest kernel (kernel-3.10.0-862.14.4.el7.x86_64). yum update kernel.
Read more >Error: kernel headers not found. (But they are in place)
In my case it was actually missing dkms so before you install the addition run sudo apt-get install build-essential linux-headers-`uname -r` dkms.
Read more >How to compile and install Linux Kernel 5.16.9 from source code
See “Ubuntu Linux Install GNU GCC Compiler and Development Environment” ... compiled kernel got the Kernel Panic error which says can't find
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
update @kwalcock
Try
./coursier launch --fork almond:0.11.0 -- --install
or./coursier launch --fork almond:0.11.1 -- --install
I tried reproducing the situation in docker and it seems almond 0.11.2’s bug.
cs command also failed.
Both my local cs and cs inside Docker run successfully when installing almond:0.11.0, 0.11.1 and it shows following main classes.
Thit is probably because the latest almond version(0.11.2) is missing
(vendor: sh.almond, title: scala-kernel)
.@ItoYo16u I ran
./coursier launch --fork almond:0.11.1 -- --install --force
given your suggestion. It installs a kernel in/home/user/.local/share/jupyter/kernels/scala
that jupyter can see.However, when I go into jupyter to start a new scala notebook I get
500: Internal Server Error
and jupyter seems to suggest a permissions error?