Jupyter Notebook only has Python kernels [conda root] and Python [default]

I followed all the steps described in other Python posts [root], but still cannot get the python2 and python3 kernels.

Here is what my Jupyter laptop shows:

Jupyter notebook

and here is the launch log:

enter image description here

I have installed Anaconda3 (version 3.5).

How can I get python2 and python3 kernels?

+7
python kernel jupyter conda
source share
3 answers

I have the same situation as you, and I solved it:

  • Go to the conda env tab that you want to show on your Jupyter laptop.

→> source activate conda_env_name

  1. Install / reinstall Jupyter under this env using:

(conda_env_name) →> conda install jupyter

You can see your env in the list of Jypyter Kernel-> Change kernels (this is my first answer to stackoverflow, I hope it helps you)

+3
source share

I had a similar problem, but I had python 2.7.12 from anaconda installed, and Mac 2.7.10 by default.

When I open the Jupiter notebook, I used to get Python [conda root] and Python [default], after a lot of fighting I did the following

conda update conda

conda remove ipython

Conda install jupyter

now I only see "Python 2" in my Jupiter laptop

hope this helps

+2
source share

I am stuck like you and the solution is easy: For more information: https://docs.continuum.io/anaconda/jupyter-notebook-extensions#notebook-conda

In the Jupiter Notebook HOME you will find: Files, Running, Clusters and Condas Select Condas Then there is space for conda environments, there is a + sign, clic on it to add a new environment, here you can choose conda 2 or 3, it's up to you and give name, it can be the same name Conda 3. After that, you will update the environment list, and then close the jupyter notepad. Finally, open it again and it should work.

+1
source share

All Articles