Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable ipython console in pycharm

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.

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.

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

like image 646
justfor1question Avatar asked Nov 06 '13 14:11

justfor1question


People also ask

How do I use IPython console in PyCharm?

Fixing is quite easy: Go to Settings -> Project: <project name> -> Project interpreter At the bottom of the packages list you should see a + sign. Press that button, find ipython and install it. On the next time you'll open your console, IPython will be detected and used automatically.

Why does Python console run PyCharm?

The main reason for using the Python console within PyCharm is to benefit from the main IDE features, such as code completion, code analysis, and quick fixes. and check the Special Variables list. The console is available for all types of Python interpreters and virtual environments, both local and remote.


2 Answers

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

then go in File --> Settings, uncheck Use IPython, if available

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

i am using PyCharm version 3.4 and after doing both the above processes i do not get IPython Console.

like image 185
Prashant Shrivastava Avatar answered Oct 16 '22 02:10

Prashant Shrivastava


I am using PyCharm Community Edition 2017.1.3 on CentOS 7.2. To disable the use of Ipython for current project. Go to File-->Settings-->Build, Execution, Deployment-->Console, uncheck the box Use Ipython if available. enter image description here

Then close the current python console window and open it again or Rerun it. You should see that plain python is used. In my case, there is no need to restart Pycharm for this change to take effect.

Also, if you want to use Ipython instead of plain Python, do the opposite.

like image 33
jdhao Avatar answered Oct 16 '22 03:10

jdhao