Disable ipython console in pycharm(在 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 Settings
和 Settings
是 File
菜单中的两个不同选项,因此请务必遵循两者
Default Settings
and Settings
are two different options in File
menu so make sure to follow both
我使用的是 PyCharm 3.4 版,在完成上述两个过程后,我没有得到 IPython 控制台.
这篇关于在 pycharm 中禁用 ipython 控制台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 pycharm 中禁用 ipython 控制台


基础教程推荐
- Dask.array.套用_沿_轴:由于额外的元素([1]),使用dask.array的每一行作为另一个函数的输入失败 2022-01-01
- 使用PyInstaller后在Windows中打开可执行文件时出错 2022-01-01
- Python kivy 入口点 inflateRest2 无法定位 libpng16-16.dll 2022-01-01
- 如何在海运重新绘制中自定义标题和y标签 2022-01-01
- 如何让 python 脚本监听来自另一个脚本的输入 2022-01-01
- 用于分类数据的跳跃记号标签 2022-01-01
- 何时使用 os.name、sys.platform 或 platform.system? 2022-01-01
- 在 Python 中,如果我在一个“with"中返回.块,文件还会关闭吗? 2022-01-01
- 筛选NumPy数组 2022-01-01
- 线程时出现 msgbox 错误,GUI 块 2022-01-01