Ipython - disable welcome message

Every time I enter ipython mode, ipython welcomes me with this message,

 WARNING: Attempting to work in a virtualenv. If you encounter problems, please install IPython inside the virtualenv. Python 2.7.6 (default, Mar 22 2014, 22:59:56) Type "copyright", "credits" or "license" for more information. IPython 1.2.1 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython features. %quickref -> Quick reference. help -> Python own help system. object? -> Details about 'object', use 'object??' for extra details. 

The welcoming people are doing fine and good, but it takes up most of my shell screen, and I am ready to do clean to remove them.

How to disable this greeting message through the configuration file?

+7
ipython
source share
3 answers

Just use:

 ipython console 

You will receive it if you need it.

+2
source share

you can use

 ipython --no-banner 

or install in the configuration file

 c.TerminalIPythonApp.display_banner = False 
+4
source share

Editing IPython Configuration File

Edit your configuration file and add

 c.TerminalIPythonApp.display_banner = False 

The default profile configuration file is located at /home/<user>/.ipython/profile_default/ipython_config.py

IPython configuration documentation can be found here.

Default Profile Update

Create a new configuration file if it does not exist, or use

 ipython locate profile 

to view the current profile location.

0
source share

All Articles