在 pycharm 中禁用 ipython 控制台 [英] Disable ipython console in pycharm

查看:43
本文介绍了在 pycharm 中禁用 ipython 控制台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 PyCharm 社区版和 ipython.PyCharm 自动识别 ipython 并将其设置为默认控制台(PyCharm webhelp 链接),因此在调试模式下,它接受运行 ipython 魔术命令,例如 list?ls%timeit.

I use the PyCharm community edition and also ipython. PyCharm automatically recognizes ipython and sets it as the default console (PyCharm webhelp link), so when in debugging mode, it accepts to runs ipython magic commands, like list? or ls or %timeit.

非常好,但我想使用普通的旧 python 控制台.有没有一种简单的方法可以做到这一点?请注意,我不想卸载 ipython(这显然解决了我的问题),也不想设置 virtualenv.

It is very nice, but I would like to use the plain old python console. Is there a simple way to do that? Note that I do not want to uninstall ipython (which obviously solves my problem) nor do I want to set up a virtualenv.

我用的是python 3.3.2,但是2.7的问题是一样的.

I use python 3.3.2, but the problem is the same with 2.7.

推荐答案

进入 File -->默认设置,点击console,取消勾选Use IPython, if available

Go in File --> Default Settings, click console , Uncheck Use IPython, if available

然后进入 File -->设置,取消勾选Use IPython, if available

Default SettingsSettingsFile 菜单中的两个不同选项,因此请务必遵循两者

Default Settings and Settings are two different options in File menu so make sure to follow both

我使用的是 PyCharm 3.4 版,在完成上述两个过程后,我没有得到 IPython 控制台.

这篇关于在 pycharm 中禁用 ipython 控制台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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