I am launching an Anconda prompt from a Windows shortcut.
Its target is %windir%System32cmd.exe "/K" %PYTHONDIR%Scriptsactivate.bat root
,
with PYTHONDIR=C:UsersUser1Anaconda
.
At the prompt I get
(base) C:UsersUser1Documents> jupyter kernelspec list
[ListKernelSpecs] WARNING | Config option `kernel_spec_manager_class` not recognized by `ListKernelSpecs`.
Available kernels:
python3 C:UsersUser1AppDataRoamingjupyterkernelspython3
(base) C:UsersUser1Documents>
In the corresponding C:UsersUser1AppDataRoamingjupyterkernelspython3kernel.json
(#1) I have
{
"argv": [
"C:\Users\user1\Documents\appls_mydocs\anaconda3\python.exe",
"-m",
"ipykernel_launcher",
"-f",
"{connection_file}"
],
"display_name": "Python 3",
"language": "python"
}
And in another C:UsersUser1Anacondasharejupyterkernelspython3kernel.json
(#2) I have
{
"argv": [
"C:/Users/User1/Anaconda\python.exe",
"-m",
"ipykernel_launcher",
"-f",
"{connection_file}"
],
"display_name": "Python 3",
"language": "python"
}
Where is it stated which kernel.json
to use to select the jupyter kernel (in this case, #1)?
I would actually mean to use #2, whenever I launch an Anaconda prompt in that same directory.