How To Get IPython Notebook To Run Python 3?

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

    Is there a package from your distro? If you're using ubuntu you must to install the ipython3-notebook package. If not, maybe you must to install ipython with python3.

    If you've run (because it's python2 by default)

    python setup.py
    

    you must to run instead

    python3 setup.py install
    

    to install a package with python3 instead python2. This will be a new instalation of ipython3.

提交回复
热议问题