如何在 Anaconda 2.0 中使用 Python 3.4 激活 Ipython Notebook 和 QT 控制台 [英] How to activate Ipython Notebook and QT Console with Python 3.4 in Anaconda 2.0

查看:19
本文介绍了如何在 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).

这篇关于如何在 Anaconda 2.0 中使用 Python 3.4 激活 Ipython Notebook 和 QT 控制台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆