I followed all the steps outlined in the other Python [root] posts, but still cannot get the python2 and python3 kernels to show up.
Here is what my Jupyter notebook shows:
and here is the startup log:
I have Anaconda3 installed (the 3.5 version).
How do I get the python2 and python3 kernels to show up?
When you open a notebook in edit mode in a Spark environment, a dedicated Spark cluster is started, even if another notebook was opened in the same Spark environment template. Each notebook kernel has its own Spark driver and set of Spark executors. No resources are shared.
pip is the default package manager that ships with python. Conda is also a package manager, but it is third party. Conda was made especially for data science libraries. Libraries installed with conda usually give much better performance than pip.
The general recommendation is that you use the Anaconda distribution to install both Python and the Jupyter Notebook. Jupyter Notebook in Anaconda comes pre-installed, meaning that you do not have to install it explicitly.
I have the similar situation as yours and I solved it through:
>>> source activate conda_env_name
(conda_env_name)>>> conda install jupyter
You should be able to see your env under Jypyter Kernel->Change kernels lists (this is my first stackoverflow answer, hope it helps you)
I had a similar issue but i had python 2.7.12 installed from anaconda and the default one came with Mac is 2.7.10.
When i open jupiter notebook, i used to get Python[conda root] and Python[default], after lot of struggling i did the following
conda update conda
conda uninstall ipython
conda install jupyter
now i see only 'Python 2' in my Jupiter notebook
hope this helps
I was stucked like you, and the solution is easy: For more information: https://docs.continuum.io/anaconda/jupyter-notebook-extensions#notebook-conda
In the HOME of jupiter Notebook you will find: Files, Running, Clusters and Conda Select Conda Then there is a space for the conda environments, there is a sign +, clic on it to add a new environment, here you can select conda 2 or 3, depends on you, and give a name, it could be the same name Conda 3. After that you refresh environment list, and then close jupyter notebook. Finally, open it again, and it should works.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With