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

查看:1295
本文介绍了在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.

推荐答案

进入文件 - >默认设置,单击 console ,取消选中使用IPython(如果可用)

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

然后进入文件 - >设置,取消选中使用IPython,如果可用

默认设置设置文件菜单中的两个不同选项,因此请务必遵循两者

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天全站免登陆