Reputation: 17408
I can run this code fine using a Python kernel:
import saspy
sas = saspy.SASsession()
sas
cars = sas.sasdata('cars', 'sashelp')
cars.head()
Unfortunately, I cannot chose a SAS kernel anymore. I re-installed saspy and the sas kernel and as you can see the sas kernel (?) is working from Python. This:
jupyter kernelspec list
only returns my python and r kernel:
Available kernels:
ir C:\ProgramData\Anaconda3\share\jupyter\kernels\ir
python3 C:\ProgramData\Anaconda3\share\jupyter\kernels\python3
Can I somehow refresh (?) manual register the sas kernel?
Upvotes: 1
Views: 461
Reputation: 349
I can imagine two reasons why this did not work out:
have you tried manually to install it? I used the following command:
jupyter kernelspec install <path_to_sas_kernel>
I was in similar situation, since I could not use pip in my environment (no internet connection allowed), I installed sas_kernel manually as a package (python setup.py install
), and then installed sas_kernel using to my environment specific sas_kernel path:
jupyter kernelspec install .\newpackages\sas_kernel-2.1.7\sas_kernel
And it worked for me. Hope this helps.
Upvotes: 1