Reputation: 293
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.
Upvotes: 29
Views: 13630
Reputation: 71
If you want to disable "run from python console" globally, there is a template configuration at the bottom left corner called Edit configuration templates
in the Run/Debug Configurations
dialog window. You can remove run from python console
there.
Upvotes: 0
Reputation: 461
In my case I had uncheck from
Run --> Edit Configuration --> Uncheck "Run with Python Console
Upvotes: 0
Reputation: 614
To give a more up-to-date answer, I am running Pycharm 2021.1.3.
File --> New Projects Settings --> Settings for New Projects...
--> Build, Execution, Deployment
click Console
, Uncheck Use IPython if available
File --> Settings
--> Build, Execution, Deployment
click Console
, Uncheck Use IPython if available
Upvotes: 1
Reputation: 28349
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.
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.
Upvotes: 9
Reputation: 713
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.
Upvotes: 31