Hello, This is regarding SAS Notebook, which is not working in Jupyter Lab. I have installed Anaconda distribution of Python as well as Jupyter Lab and modified the saspy configuration file. The path to sspiauth.dll has also been added to the system PATH variable. SASPy is working fine. In the Jupyter Lab platform, I have been able to lunch python notebook, running python code, SASPy, and %%SAS and SAS code using Python kernel. Issue: When attempting to launch SAS notebook (using licensed SAS 9.4M6, not the University edition), I get a dead kernel (i.e., No Kernel). When the SAS kernel is selected, I get the following error message. Error Starting Kernel Traceback (most recent call last): File "C:\Users\Pradip.Muhuri\AppData\Local\Continuum\anaconda3\lib\site-packages\tornado\web.py", line 1699, in _execute result = await result File "C:\Users\Pradip.Muhuri\AppData\Local\Continuum\anaconda3\lib\site-packages\tornado\gen.py", line 736, in run yielded = self.gen.throw(*exc_info) # type: ignore File "C:\Users\Pradip.Muhuri\AppData\Local\Continuum\anaconda3\lib\site-packages\notebook\services\sessions\handlers.py", line 73, in post type=mtype)) File "C:\Users\Pradip.Muhuri\AppData\Local\Continuum\anaconda3\lib\site-packages\tornado\gen.py", line 729, in run value = future.result() File "C:\Users\Pradip.Muhuri\AppData\Local\Continuum\anaconda3\lib\site-packages\tornado\gen.py", line 736, in run yielded = self.gen.throw(*exc_info) # type: ignore File "C:\Users\Pradip.Muhuri\AppData\Local\Continuum\anaconda3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 79, in create_session kernel_id = yield self.start_kernel_for_session(session_id, path, name, type, kernel_name) File "C:\Users\Pradip.Muhuri\AppData\Local\Continuum\anaconda3\lib\site-packages\tornado\gen.py", line 729, in run value = future.result() File "C:\Users\Pradip.Muhuri\AppData\Local\Continuum\anaconda3\lib\site-packages\tornado\gen.py", line 736, in run yielded = self.gen.throw(*exc_info) # type: ignore File "C:\Users\Pradip.Muhuri\AppData\Local\Continuum\anaconda3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 92, in start_kernel_for_session self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_name) File "C:\Users\Pradip.Muhuri\AppData\Local\Continuum\anaconda3\lib\site-packages\tornado\gen.py", line 729, in run value = future.result() File "C:\Users\Pradip.Muhuri\AppData\Local\Continuum\anaconda3\lib\site-packages\tornado\gen.py", line 209, in wrapper yielded = next(result) File "C:\Users\Pradip.Muhuri\AppData\Local\Continuum\anaconda3\lib\site-packages\notebook\services\kernels\kernelmanager.py", line 160, in start_kernel super(MappingKernelManager, self).start_kernel(**kwargs) File "C:\Users\Pradip.Muhuri\AppData\Local\Continuum\anaconda3\lib\site-packages\jupyter_client\multikernelmanager.py", line 110, in start_kernel km.start_kernel(**kwargs) File "C:\Users\Pradip.Muhuri\AppData\Local\Continuum\anaconda3\lib\site-packages\jupyter_client\manager.py", line 259, in start_kernel **kw) File "C:\Users\Pradip.Muhuri\AppData\Local\Continuum\anaconda3\lib\site-packages\jupyter_client\manager.py", line 204, in _launch_kernel return launch_kernel(kernel_cmd, **kw) File "C:\Users\Pradip.Muhuri\AppData\Local\Continuum\anaconda3\lib\site-packages\jupyter_client\launcher.py", line 138, in launch_kernel proc = Popen(cmd, **kwargs) File "C:\Users\Pradip.Muhuri\AppData\Local\Continuum\anaconda3\lib\subprocess.py", line 775, in __init__ restore_signals, start_new_session) File "C:\Users\Pradip.Muhuri\AppData\Local\Continuum\anaconda3\lib\subprocess.py", line 1178, in _execute_child startupinfo) FileNotFoundError: [WinError 2] The system cannot find the file specified Below is the output from the kernelspc list command. base) C:\Users\FN.LN>jupyter kernelspec list Available kernels: ir C:\Users\FN.LN\AppData\Roaming\jupyter\kernels\ir python3 C:\Users\FN.LN\AppData\Roaming\jupyter\kernels\python3 sas C:\Users\FN.LNi\AppData\Roaming\jupyter\kernels\sas #Check whether the pyiom directory has the files saspy2j.class and saspy2j.java inside itimport os# List all files in a directory using os.listdirmypath = '/Users/FN.LN/AppData/Local/Continuum/anaconda3/lib/site-packages/saspy/java/pyiom'for entry in os.listdir(mypath😞 if os.path.isfile(os.path.join(mypath, entry)): print(entry) saspy2j.classsaspy2j.java I would appreciated if you could help me by resolving the ‘No Kernel’ issue when the SAS kernel is selected from Jupyter Lab . Thanks,
... View more