How To Get IPython Notebook To Run Python 3?

前端 未结 9 642
被撕碎了的回忆
被撕碎了的回忆 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:44

    For linux 16.04 Ubuntu you can use

    sudo apt-get install ipython3
    

    and then use

    ipython3 notebook
    

    to open the notebook in the browser. If you have any notebooks saved with python 2 then it will automatically convert them to Python 3 once you open the notebook.

提交回复
热议问题