Skip to content

Can't register the kernel in the current R installation. #738

@darkRaspberry

Description

@darkRaspberry

What's issue?

I can't register the kernel in step 2.

What I have done.

  1. I started with installing juypter as usual from official docs and run pip install jupyterlab HERE, I installed jupyter-lab not classic notebook in my system (Ubuntu 23.04) and after some issue with python 3.11 I installed it anyway.

  2. I installed R by compiling it from source. And installed (R version 4.3.0 (2023-04-21) -- "Already Tomorrow")

  3. I then launched R and installed the package install.packages('IRkernel')

  4. I tried registering and it just didn't completed. And through this error.

> IRkernel::installspec()
Error in IRkernel::installspec() : 
  jupyter-client has to be installed butjupyter kernelspec --versionexited with code 127.
In addition: Warning message:
In system2("jupyter", c("kernelspec", "--version"), FALSE, FALSE) :
  error in running command

This seems juypter-lab is not installed but I tried running juypter and it works normally.
I reinstalled juypter-lab but nothing happened.

~ pipx install jupyterlab
Installing to existing venv 'jupyterlab'
  installed package jupyterlab 3.6.3, installed using Python 3.11.2
  These apps are now globally available
    - jlpm
    - jupyter-lab
    - jupyter-labextension
    - jupyter-labhub
done! ✨ 🌟 ✨

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions