Kernels

18 views
Skip to first unread message

testb...@gmail.com

unread,
Apr 4, 2017, 9:41:28 AM4/4/17
to Project Jupyter
Hi,
Could anyone please provide some details on how to resolve the below issues?

1. I have Anaconda 3 installed. I have also JupyterHub and Jupyter notebook installed.

When I run jupyter kernelspec list command, I see the python3 kernel picked up from the below location,
python3     /anaconda3/lib/python3.5/site-packages/ipykernel/resources

But, when another user runs the same command, the python3 kernels gets picked up from the below location.

/home/<userid>/.local/share/jupyter/kernels/python3


Which location is correct?
Could you let me know whether there is a command available to change the kernel location to point to the correct location?


Thanks Much!


Thomas Kluyver

unread,
Apr 4, 2017, 9:56:56 AM4/4/17
to Project Jupyter
On 4 April 2017 at 14:41, <testb...@gmail.com> wrote:
Which location is correct?

Either location can be correct. There's a search path of locations it looks, and it will use the first one it finds. You can see the search path by running jupyter --paths (look at the data section). However, this won't show the location that starts /anaconda3/ - there's an extra step we do to look for a Python kernel, which is lower priority than the search path.

Installing the kernelspec (http://ipython.readthedocs.io/en/stable/install/kernel_install.html ) will create a higher priority location like the one you see under /home/ . Or removing that will let it see the lower priority location.

Thomas
Reply all
Reply to author
Forward
0 new messages