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

Trouble caused by installing linux610-headers and v4l2loopback-dkms #1133

Open
HenriLaurie opened this issue Nov 25, 2024 · 6 comments
Open

Comments

@HenriLaurie
Copy link

HenriLaurie commented Nov 25, 2024

I wonder if anyone has seen this before: IJulia notebook closed immediately after opening, without even launching a browser tab.

The cause was, as best I can tell, the following sequence of actions

  1. I installed linux610-headers and v4l2loopback-dkms from the shell, via sudo pacman -S linux610-headers and sudo pacman -S v4l2loopback-dkms
  2. I ran OBStudio and added camera to captured devices.
  3. At the Julia prompt, I issued using IJulia and notebook() and found that it failed to launch a browser tab and simply showed the message when IJulia returns.

I cured it by first uninstalling the two packages I had added. Still failed. By looking at the jupyter version I saw that notebook hadn't been installed, so I used Manjaro's Add/Remove Software utility to add it. This also added nbconvert, which had also been missing. However, I think I now have a hybrid version of jupyter. It seems to work for what I have tried but some of the menus look decidedly different.

Is this an IJulia issue, or a Manjaro (perhaps ArchLinux?) issue? Any comments appreciated!

EDIT: I should have added the environment details:

Julia : Version 1.11.1 (2024-10-16)
IJulia: v1.26.0

Operating System: Manjaro Linux
Kernel: Linux 6.10.13-3-MANJARO
Architecture: x86-64
Hardware Vendor: Lenovo
Hardware Model: IdeaPad Gaming 3 15ARH05
Firmware Version: FCCN16WW
Firmware Date: Tue 2021-01-05
Firmware Age: 3y 10month 2w 6d

@janxkoci
Copy link

janxkoci commented Jan 8, 2025

Have you installed Julia from Manjaro repos? I did and it worked with jupyterlab directly, without even installing IJulia. But some packages failed to compile, and then I learned the version in repos is unofficial and known to fail. I'm currently looking into getting it working without resorting to AUR, but running out of options... (My attempt at #1139)

@HenriLaurie
Copy link
Author

No, I use juliaup, which I installed per the instructions on https://github.com/JuliaLang/juliaup. It seems that IJulia just defaults to a jupyter notebook, I haven't tested this in detail but I'm making some notebooks for use in lectures and I am not sure that the markdown is IJulia markdown and not just Jupyter markdown.

Just back from holidays and slowly re-educating myself about this issue ...

@janxkoci
Copy link

janxkoci commented Jan 9, 2025

I got both notebook() and jupyterlab() available from IJulia. I will probably try the officially recommended way next, at the moment I tried juliaup from conda manager (I use it for everything at work) and I have no kernel in notebooks...

@HenriLaurie
Copy link
Author

The recommendation is NOT to use anything except the Windows store (on Windows machines) or directly from julialang.org on Unix-like machines. They give the code to use on the command line (no command line if you go directly to the Windows store, for which they give a link).

Not sure where you can get full details on why this the current recommendation from the juliaup people.

@HenriLaurie
Copy link
Author

By the way, to have IJulia available for a specific channel in juliaup (say the LTS), you need to install IJulia for that version. I.e. you need to fire up that version of Julia and then use the package manager to install IJulia.

That is extra work, yes. One installation per version, and earlier versions may require building IJulia (thankfully done automatically)

@janxkoci
Copy link

I'm aware of all of that, but thanks

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

2 participants