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.
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With