Ipython notebook - Create a new notebook (Python conda or default Python)

MDIT

I have installed the latest version of Anaconda on my Ubuntu Linux virtual machine.

I successfully launched Jupyter in my browser using the following command : ipython notebook .

But when I want to create a new notebook, I have to choose between Python [conda root] and Python [default].

enter image description here

So, what are the differences between them? Which one to choose to create a new Notebook?

(I want to use Jupyter to work with Apache Spark)

Thank you.

// Update 22/10/2016

I created a new Environment python2 using : conda create -n python2 python=2.7 anaconda and I activate this new one : source activate python2.

When I list all environments : $ conda info --envs, I see these two lines :

python2               *  /home/opentuto/anaconda2/envs/python2
root                     /home/opentuto/anaconda2

Now, my notebook, look like this :

enter image description here

Any solution!!?

Connor Ameres

Python [conda root] and Python [default].

What you are seeing are notebook kernels that you can use to create notebooks. The kernels listed are dependent on anaconda environments that you create and kernels installed. You see only default and conda root, because I'm assuming that you have simply installed the newest version of Anaconda for python 2.7 or 3.5. When installing Anaconda, it creates a root virtual environment and you can change the default environment based on environments that you have set up.

See the following for more information related to your question:

How do I add python3 kernel to jupyter (IPython)

https://github.com/jupyter/notebook/issues/1716

Jupyter and Apache Spark

I recommend setting up jupyter and spark in the following manner w/ your .profile.

export SPARK_PATH=~/...
export PYSPARK_DRIVER_PYTHON="jupyter"
export PYSPARK_DRIVER_PYTHON_OPTS="notebook"

After sourcing these variables you can call $ ./bin/pyspark and you'll have a spark context in a jupyter notebook.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

iPython Notebook svg Figures by Default

From Dev

ipython notebook: how to toggle header invisible by default

From Dev

How to make new cells in ipython notebook markdown by default?

From Dev

New ipython notebook templating

From Dev

Upload new ipython notebook to wakari

From Dev

IPython Notebook in a virtualenv, using Python 3.3

From Dev

How to change default colour scheme for ipython notebook?

From Dev

Where are python logs default stored when ran through IPython notebook?

From Dev

What is the correct syntax for launching ipython qtconsole/notebook for python version=x

From Dev

Python Bloomberg API not connecting from ipython notebook

From Dev

Can not create a "notebook" using ipython Notebook

From Dev

ipython notebook R cell magic as a python function

From Dev

Default notebook directory in iPython Notebook - iPython 3.0.0

From Dev

IPython/Jupyter notebook 3 - hide headers by default

From Dev

Anaconda: Python 3 and 2 in IPython/Jupyter Notebook

From Dev

Printing 2 Python Pandas DataFrame in HTML Tables in iPython Notebook

From Dev

Python dictionary as html table in ipython notebook

From Dev

Changing the default port for iPython notebook server / Jupyter

From Dev

Executing "python setup.py install" inside an iPython notebook

From Dev

Ipython Notebook: Default Initialization Python Code

From Dev

Default template for iPython notebook (using Jupyter)

From Dev

Conda Environment and Jupiter Notebook, Python 3.9.2

From Dev

Execute IPython notebook cell from python script

From Dev

Conda/Python: Import Error - image not found in jupyter notebook only

From Dev

Conda Environment and Jupyter Notebook, Python 3.9.2

From Dev

Conda Environment and Jupyter Notebook, Python 3.9.2

From Dev

New ipython notebook templating

From Dev

Python Bloomberg API not connecting from ipython notebook

From Dev

Install several new versions of Python3.x on an IPython notebook

Related Related

  1. 1

    iPython Notebook svg Figures by Default

  2. 2

    ipython notebook: how to toggle header invisible by default

  3. 3

    How to make new cells in ipython notebook markdown by default?

  4. 4

    New ipython notebook templating

  5. 5

    Upload new ipython notebook to wakari

  6. 6

    IPython Notebook in a virtualenv, using Python 3.3

  7. 7

    How to change default colour scheme for ipython notebook?

  8. 8

    Where are python logs default stored when ran through IPython notebook?

  9. 9

    What is the correct syntax for launching ipython qtconsole/notebook for python version=x

  10. 10

    Python Bloomberg API not connecting from ipython notebook

  11. 11

    Can not create a "notebook" using ipython Notebook

  12. 12

    ipython notebook R cell magic as a python function

  13. 13

    Default notebook directory in iPython Notebook - iPython 3.0.0

  14. 14

    IPython/Jupyter notebook 3 - hide headers by default

  15. 15

    Anaconda: Python 3 and 2 in IPython/Jupyter Notebook

  16. 16

    Printing 2 Python Pandas DataFrame in HTML Tables in iPython Notebook

  17. 17

    Python dictionary as html table in ipython notebook

  18. 18

    Changing the default port for iPython notebook server / Jupyter

  19. 19

    Executing "python setup.py install" inside an iPython notebook

  20. 20

    Ipython Notebook: Default Initialization Python Code

  21. 21

    Default template for iPython notebook (using Jupyter)

  22. 22

    Conda Environment and Jupiter Notebook, Python 3.9.2

  23. 23

    Execute IPython notebook cell from python script

  24. 24

    Conda/Python: Import Error - image not found in jupyter notebook only

  25. 25

    Conda Environment and Jupyter Notebook, Python 3.9.2

  26. 26

    Conda Environment and Jupyter Notebook, Python 3.9.2

  27. 27

    New ipython notebook templating

  28. 28

    Python Bloomberg API not connecting from ipython notebook

  29. 29

    Install several new versions of Python3.x on an IPython notebook

HotTag

Archive