How To Get IPython Notebook To Run Python 3?

前端 未结 9 636
被撕碎了的回忆
被撕碎了的回忆 2021-01-30 02:03

I am new to Python to bear with me.

  1. I installed Anaconda, works great.
  2. I setup a Python 3 environment following the Anaconda cmd line instructions, works
9条回答
  •  隐瞒了意图╮
    2021-01-30 02:43

    Switch the role of 2 and 3 in this answer as appropriate.

    Say you already have jupyter setup with a python 2 kernel and an anaconda environment with python 3. Activate the python 3 enviroment and then run

    conda install ipykernel
    

    After that you can select both a 2 and 3 kernel when creating a new notebook, or in a running notebook from the kernels menu.

提交回复
热议问题