-
Notifications
You must be signed in to change notification settings - Fork 298
Can't register the kernel in the current R installation. #738
Copy link
Copy link
Closed as not planned
Labels
Description
- I followed the official installation instructions
- I reproduced the error with the newest versions of
IRkernel,IRdisplay, andrepr - I included a minimal reproducible example
- This the right repository: I think the issue is with IRkernel, not
IRkernel/repr or a third party repository
What's issue?
I can't register the kernel in step 2.
What I have done.
-
I started with installing juypter as usual from official docs and run
pip install jupyterlabHERE, 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. -
I installed R by compiling it from source. And installed (R version 4.3.0 (2023-04-21) -- "Already Tomorrow")
-
I then launched R and installed the package
install.packages('IRkernel') -
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 but “jupyter kernelspec --version” exited with code 127.
In addition: Warning message:
In system2("jupyter", c("kernelspec", "--version"), FALSE, FALSE) :
error in running commandThis 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! ✨ 🌟 ✨Reactions are currently unavailable