Kevin,
Thank you so much for your help. The name issue makes sense now. The issue with the R kernel is that it doesn’t generate any errors. It just simply will not run the code and suddenly, instead of the active kernel is R, changes to no kernel.
Julia, on the other hand, generates messages but I don’t understand them and don’t want to post the whole page of messages because it may not be appropriate to do so. Here are the listed kernels
Available kernels:
ir C:\Users\eesawi\AppData\Roaming\jupyter\kernels\ir
julia-1.7 C:\Users\eesawi\AppData\Roaming\jupyter\kernels\julia-1.7
python3 c:\users\eesawi\appdata\local\programs\python\python39\share\jupyter\kernels\python3
I looked at each kernel json file, but I don’t know how to change them to run the kernels properly.
Here are the 2 json files
{
"argv": ["C:/PROGRA~1/R/R-41~1.0/bin/x64/R", "--slave", "-e", "IRkernel::main()", "--args", "{connection_file}"],
"display_name": "R",
"language": "R"
}
{
"display_name": "Julia 1.7.3",
"interrupt_mode": "message",
"argv": [
"C:\\Users\\eesawi\\Downloads\\julia-1.7.3-win32\\julia-1.7.3\\bin\\julia.exe",
"-i",
"--color=yes",
"--project=@.",
"C:\\Users\\eesawi\\.julia\\packages\\IJulia\\AQu2H\\src\\kernel.jl",
"{connection_file}"
],
"env": {},
"language": "julia"
}
EK
--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/9be078cd-147d-49f7-97d1-94ccdff443b1n%40googlegroups.com.
[I 2022-07-26 09:21:24.106 ServerApp] Creating new notebook in /Documents/EK EsawiPD/Scripts
[E 2022-07-26 09:21:25.228 ServerApp] Failed to run command:
['C:/PROGRA~1/R/R-41~1.0/bin/x64/R', '--slave', '-e', 'IRkernel::main()', '--args', 'C:\\Users\\eesawi\\AppData\\Roaming\\jupyter\\runtime\\kernel-04406fc5-9a32-453f-bf4b-f5dd9ed82505.json']
PATH='C:\\Program Files (x86)\\Razer Chroma SDK\\bin;C:\\Program Files\\Razer Chroma SDK\\bin;C:\\Program Files (x86)\\Razer\\ChromaBroadcast\\bin;C:\\Program Files\\Razer\\ChromaBroadcast\\bin;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Users\\eesawi\\AppData\\Local\\Programs\\Python\\Python35;C:\\Users\\eesawi\\AppData\\Local\\Programs\\Python\\Python35\\Scripts;C:\\Program Files\\Git\\cmd;C:\\WINDOWS\\system32\\config\\systemprofile\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\eesawi\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\eesawi\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\eesawi\\AppData\\Local\\Programs\\Python\\Python39\\Scripts;C:\\Users\\eesawi\\AppData\\Local\\atom\\bin;%USERPROFILE%\\AppData\\Local\\Microsoft\\WindowsApps;'
with kwargs:
{'stdin': -1, 'stdout': None, 'stderr': None, 'cwd': 'C:\\Users\\eesawi\\Documents\\EK EsawiPD\\Scripts', 'close_fds': False}
[E 2022-07-26 09:21:25.228 ServerApp] Uncaught exception POST /api/sessions?1658852485196 (127.0.0.1)
HTTPServerRequest(protocol='http', host='localhost:8888', method='POST', uri='/api/sessions?1658852485196', version='HTTP/1.1', remote_ip='127.0.0.1')
Traceback (most recent call last):
File "c:\users\eesawi\appdata\local\programs\python\python39\lib\site-packages\tornado\web.py", line 1704, in _execute
result = await result
File "c:\users\eesawi\appdata\local\programs\python\python39\lib\site-packages\jupyter_server\services\sessions\handlers.py", line 67, in post
model = await sm.create_session(
File "c:\users\eesawi\appdata\local\programs\python\python39\lib\site-packages\jupyter_server\services\sessions\sessionmanager.py", line 91, in create_session
kernel_id = await self.start_kernel_for_session(session_id, path, name, type, kernel_name)
File "c:\users\eesawi\appdata\local\programs\python\python39\lib\site-packages\jupyter_server\services\sessions\sessionmanager.py", line 99, in start_kernel_for_session
kernel_id = await self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_name)
File "c:\users\eesawi\appdata\local\programs\python\python39\lib\site-packages\jupyter_server\services\kernels\kernelmanager.py", line 187, in start_kernel
kernel_id = await ensure_async(self.pinned_superclass.start_kernel(self, **kwargs))
File "c:\users\eesawi\appdata\local\programs\python\python39\lib\site-packages\jupyter_server\utils.py", line 172, in ensure_async
result = await obj
File "c:\users\eesawi\appdata\local\programs\python\python39\lib\site-packages\jupyter_client\multikernelmanager.py", line 483, in start_kernel
await fut
File "c:\users\eesawi\appdata\local\programs\python\python39\lib\site-packages\jupyter_client\multikernelmanager.py", line 460, in _add_kernel_when_ready
await kernel_awaitable
File "c:\users\eesawi\appdata\local\programs\python\python39\lib\site-packages\jupyter_client\manager.py", line 661, in start_kernel
self.kernel = await self._launch_kernel(kernel_cmd, **kw)
File "c:\users\eesawi\appdata\local\programs\python\python39\lib\site-packages\jupyter_client\manager.py", line 642, in _launch_kernel
res = launch_kernel(kernel_cmd, **kw)
File "c:\users\eesawi\appdata\local\programs\python\python39\lib\site-packages\jupyter_client\launcher.py", line 132, in launch_kernel
proc = Popen(cmd, **kwargs)
File "c:\users\eesawi\appdata\local\programs\python\python39\lib\subprocess.py", line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "c:\users\eesawi\appdata\local\programs\python\python39\lib\subprocess.py", line 1420, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
[W 2022-07-26 09:21:25.468 ServerApp] Unhandled error
[E 2022-07-26 09:21:25.471 ServerApp] {
"Host": "localhost:8888",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0",
"Accept": "*/*",
"Accept-Language": "en-US,en;q=0.5",
"Accept-Encoding": "gzip, deflate",
"Referer": "http://localhost:8888/lab/tree/Documents/EK%20EsawiPD/Scripts/Untitled2.ipynb",
"Content-Type": "text/plain;charset=UTF-8",
"Authorization": "token c2471bb8fc507afe67c6e214fea4d923bdf1ab74b4baea3d",
"X-Xsrftoken": "2|6bc60900|7dac534b086993b020c27c66807bdf22|1658266876",
"Origin": "http://localhost:8888",
"Content-Length": "142",
"Connection": "keep-alive",
"Cookie": "_xsrf=2|6bc60900|7dac534b086993b020c27c66807bdf22|1658266876; username-localhost-8888=\"2|1:0|10:1658852485|23:username-localhost-8888|44:MzM3NGU2MzM4YzcxNDI4YWE2ZTExYzQ4ZTk4OWRiNzY=|6e9df3938d5b32de3b028e7120e94b3b1ecc08d227f15b2c96c0e1804a6329b0\"",
"Sec-Fetch-Dest": "empty",
"Sec-Fetch-Mode": "cors",
"Sec-Fetch-Site": "same-origin",
"Pragma": "no-cache",
"Cache-Control": "no-cache"
}
[E 2022-07-26 09:21:25.474 ServerApp] 500 POST /api/sessions?1658852485196 (127.0.0.1) 273.75ms referer=http://localhost:8888/lab/tree/Documents/EK%20EsawiPD/Scripts/Untitled2.ipynb