How to activate Ipython Notebook and QT Console with Python 3.4 in Anaconda 2.0

佐手、 提交于 2019-11-30 21:53:00

The launcher always points to the root environment (Python 2). If you have activated the Python 3 environment, you can launch the notebook by just typing ipython notebook (and the same with the qtconsole with ipython qtconsole).

As asmeurer said, when in your py3k environment in the command prompt, you can launch a 3.4 kernel with the ipython notebook command. You can run both a 2.7 and a 3.4 at the same time if you specify a different port, for instance, ipython notebook --port 8080 The 2.7 will default to 8888.

Note that, by default, IPython will look in your current directory for notebooks and store them there if you create them, so it can be helpful to create a directory just for Python 3 notebooks and either cd to it before launching or specify a directory with ipython notebook --port 8080 --notebook-dir C:\\Users\\[User name]\\Documents\\ipython3notebooks

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!