I have been using VS for a while now in remote extention. Suddenly it started giving me an error like "Failed to start the Kernel.
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-qvkpyfsy/argon2-cffi-bindings/.
View Jupyter log for further details."
Jupyter notebook is installed in the remote extention and also in the virtual environment.
I saw its a bug and i uninstalled and reinstalled VS code. And i am still getting the same error when i am trying to run a notebook
I have been using R/Python and Jupyter Lab/Notebook on Macbook. In my new job, I need to install and run these applications on Windows 10.
I have Python, pip, Jupyter, R4.1 & RStudio installed manually (not through Anaconda). I try to execute step 2/3: Making the kernel available to Jupyter based on installation guide. I got error message in R Console.
> 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) :
'"jupyter"' not found
Appreciate your advice.
Please check if jupyter is in your user/system path. A quick way to check is by running jupyter in the command line, you could use powershell commandline:
Get-Command jupyter
CommandType Name Version Source
----------- ---- ------- ------
Application jupyter.exe 0.0.0.0 C:\Users\youruser\AppData\Local\Programs\...
If it's not there, then you can add to your system/user path and check with new instance of commandline again.
Hi I am running R on Ubuntu : Getting this error:
/home/user/anaconda3/lib/R/bin/exec/R: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
I have installed anaconda recently, I have tried
$echo $LD_LIBRARY_PATH
It shows nothing. I also tried
$sudo find / lib | grep libpcre.so.1
I want to run R on Ubuntu. It was running fine before; any hints?
I am still in progress to get Jupyter-Notebook and R working together on Windows 10 machine. After solving the problem with install_github() I am now facing just another issue. I am still following the official installation guide, I am stuck at step 2:
Every time I get this error - I have tried this in R GUI and RStudio, the same:
> 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) :
'"jupyter"' not found
My attempts so far: It was suggested here and here, that this could be a problem with the PATH variable setting, so I have added Anaconda to the PATH enviroment. I also installed the jupyter-client via the Anaconda console. No change so far. Any ideas?
This answer is based on this by #Ryan, but since the question answered was actually about a Linux based system I put it here in a Windows question:
One way to overcome the problem - if adding PATH variables to the environment doesn't work - is the following:
If Anaconda is installed and the Jupyter-Notebook with it (should be the standard install), open up the Anaconda prompt, not the Windows command prompt or the Anaconda Navigator
Look up the executable of R (not Rgui or Rstudio), it should be somewhere like C:\Program Files\R\R-3.5.1\bin and copy the path
Paste the path into the Anaconda prompt and start R by typing R
Now execute IRkernel::installspec() once again, this time there shouldn't be an error
Now you can start an R kernel within Jupyter-Notebook
You should try to open R in the terminal, if you changed directory where R il located type:
R.exe
and then run:
IRkernel::installspec()
I was having this issue trying to run Jupyter Lab on my Ubuntu 18.04 LTS headless server running in an Azure VM.
To resolve the issued, I had to navigate to /usr/bin and open R from there. It turns out that despite my path, calling R from the terminal opened the anaconda3 version in /home/<you>/anaconda3/bin/R.
Run IRkernel::installspec() from /usr/bin/R in as sudo and it should add the kernel.
If jupyter.exe is installed under c:\python36\sripts, run
"setwd("c:/python36/scripts")" on R GUI, run "IRkernel::installspec()"
Simply create a new virtual environment for R. Either using the CLI or the anaconda Navigator (best recommended, If and if you're using Anaconda).
I'm actually trying to get R work with the Jupyter notebook. For this the IRkernel is the native kernel but I'm getting an error code 127 when executing the last step. This is because the last command IRkernel::installspec() needs to be run in bash but the terminal is not recognising a valid PATH to a R installation.
Now, I also have Anaconda installed and despite providing the terminal a valid path to R, keying-in 'R' in the terminal returns this error:
MacBook-Pro:~ Shiv$ R
dyld: Library not loaded: #rpath/libintl.9.dylib
Referenced from: /Users/Shiv/anaconda3/lib/R/lib/libR.dylib
Reason: image not found
Abort trap: 6
Which I believe its pointing out to my Anaconda libraries that doesn't have RStudio installed. Now, I would like to keep R as a totally separate tool and not as a part of Conda. What am I missing here that bash won't start R in the native shell? Once am through with it, installing the kernel to work with Jupyter is a tiny process.