Show More
@@ -15,7 +15,12 b" you'll need to install that manually." | |||||
15 | Kernels for Python 2 and 3 |
|
15 | Kernels for Python 2 and 3 | |
16 | -------------------------- |
|
16 | -------------------------- | |
17 |
|
17 | |||
18 |
If you're running Jupyter on Python 3, you can set up a Python 2 kernel |
|
18 | If you're running Jupyter on Python 3, you can set up a Python 2 kernel after | |
|
19 | checking your version of pip is greater than 9.0:: | |||
|
20 | ||||
|
21 | python2 -m pip --version | |||
|
22 | ||||
|
23 | Then install with :: | |||
19 |
|
24 | |||
20 | python2 -m pip install ipykernel |
|
25 | python2 -m pip install ipykernel | |
21 | python2 -m ipykernel install --user |
|
26 | python2 -m ipykernel install --user | |
@@ -26,6 +31,12 b' Or using conda, create a Python 2 environment::' | |||||
26 | source activate ipykernel_py2 # On Windows, remove the word 'source' |
|
31 | source activate ipykernel_py2 # On Windows, remove the word 'source' | |
27 | python -m ipykernel install --user |
|
32 | python -m ipykernel install --user | |
28 |
|
33 | |||
|
34 | .. note:: | |||
|
35 | ||||
|
36 | The lastest version of IPython has stopped suspport for Python 2, thus | |||
|
37 | installing IPython on Python 2 will give you an older version of IPython | |||
|
38 | (5.x series). | |||
|
39 | ||||
29 | If you're running Jupyter on Python 2 and want to set up a Python 3 kernel, |
|
40 | If you're running Jupyter on Python 2 and want to set up a Python 3 kernel, | |
30 | follow the same steps, replacing ``2`` with ``3``. |
|
41 | follow the same steps, replacing ``2`` with ``3``. | |
31 |
|
42 |
General Comments 0
You need to be logged in to leave comments.
Login now