--
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+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/219367c4-7996-4e5c-9fe0-1f9167157be0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The answer here is substantially the same as the answer I just wrote to your other thread, but there's an extra detail. Jupyter will only pick up the site-packages location for a kernel installed in the same version of Python as Jupyter - in your case, that's the Python 3 kernel. So you need the kernelspec installed in a separate location for it to find the Python 2 kernel.Thomas
On 4 April 2017 at 14:46, <testb...@gmail.com> wrote:
Hi,Could anyone please provide some details on how to resolve the below issues?I have Anaconda 2 and 3 installed. I have also JupyterHub and Jupyter notebook installed.When I run jupyter kernelspec list command, I see the python2 and python3 kernel picked up from the below location.python3 /anaconda3/lib/python3.5/site-packages/ipykernel/resourcespython2 /usr/local/share/jupyter/kernels/python21. Could anyone let me know why python2 is picked up from a different location instead of (/anaconda2/lib/python2.7/site-packages/ipykernel/resources)?2. If python2 or python3 location is incorrect, how can I change them?Thanks Much!
--
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.
Could you please let me know what command(s) do I need to run to install the kernelspec in a separate location to find python2 kernel?
Can I copy from the above location to /app/anaconda2/lib/python3.5/site-packages/ipykernel/resources directory?I want this kernel to be available to everyone. Appreciate your help!
1. Do I need to delete the kernel from site-packages or leave them there 'as is'?
2. Since, now I have both python2 and python3 kernels, does the user need to set the path to the correct python path (using export PATH) before using the kernels? I don't think so. However , want to confirm.