如何在 Anaconda 2.0 中使用 Python 3.4 激活 Ipython Notebook 和 QT 控制台
问题描述
我已经在Window 7环境下安装了Anaconda 2.0.默认 Python 是 2.7,但也安装了 Python 3.4.我可以使用activate py3k"命令激活 Python 3.4.在此 Spyder IDE 与 Python 3.4 一起正常工作之后但1) 我无法使用 Python 3.4 启动 Ipython Notebook 和 QT Console2) 我无法默认使用 Python 3.4 启动 Anaconda(因此启动器也会启动三个应用程序 -Spyder、Ipython Notebook 和 Ipython QT Console 以及 python 3.4)
I have installed in Window 7 environment Anaconda 2.0. The default Python is 2.7 but also Python 3.4 is installed. I am able to activate Python 3.4 with the command "activate py3k". After this Spyder IDE does work right with Python 3.4 But 1) I'm not able to start Ipython Notebook and QT Console with Python 3.4 2) I'm not able to start Anaconda with Python 3.4 as default (so that also launcher starts the three apps -Spyder, Ipython Notebook and Ipython QT Console with python 3.4)
解决方案
启动器始终指向根环境(Python 2).如果您已激活 Python 3 环境,则只需键入 ipython notebook
即可启动 notebook(与带有 ipython qtconsole
的 qtconsole 相同).
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
).
相关文章