[portland] Configuring iPython-1.2.1

Rich Shepard rshepard at appl-ecosys.com
Wed Apr 16 23:20:14 CEST 2014


   This version of iPython has a configuration file different from earlier
versions. When I start the tool I get a long warning message about
configuring it:

/usr/lib/python2.7/site-packages/IPython/utils/path.py:471: UserWarning:
  Found old IPython config file u'/home/rshepard/.ipython/ipy_user_conf.py'
(modified by user)
   warnings.warn("Found old IPython config file %r (modified by user)"%f)
/usr/lib/python2.7/site-packages/IPython/utils/path.py:471: UserWarning:
Found old IPython config file u'/home/rshepard/.ipython/ipythonrc' (modified
by user)
   warnings.warn("Found old IPython config file %r (modified by user)"%f)
/usr/lib/python2.7/site-packages/IPython/utils/path.py:483: UserWarning:
   The IPython configuration system has changed as of 0.11, and these files
will be ignored. See http://ipython.github.com/ipython-doc/dev/config for
details of the new config system.
   To start configuring IPython, do `ipython profile create`, and edit
   `ipython_config.py` in <ipython_dir>/profile_default.
   If you need to leave the old config files in place for an older version of
   IPython and want to suppress this warning message, set
   `c.InteractiveShellApp.ignore_old_config=True in the new config.
   `c.InteractiveShellApp.ignore_old_config=True in the new config.""")

   I ran 'python profile create' and made some changes in ipython_config.py.
However, I've no idea which lines should be uncommented and the ones I have
do not seem to satisfy ipython because it shows me that same introduction
each time I invoke it.

   Is there a basic configuration I could implement so that when I invoke
ipython it just starts without nagging me?

Rich



More information about the Portland mailing list