Come configurare ipython3-3.2 su Mac OS X?


3

Ho installato IPython con Macport:

$ sudo port install py32-ipython

Emette errori quando lo avvio:

$ ipython3-3.2 
/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/IPython/utils/path.py:417: UserWarning: Found old IPython config file '/Users/foouserbar/.ipython/ipy_user_conf.py' (modified by user)
  warnings.warn("Found old IPython config file %r (modified by user)"%f)
/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/IPython/utils/path.py:417: UserWarning: Found old IPython config file '/Users/foouserbar/.ipython/ipythonrc' (modified by user)
  warnings.warn("Found old IPython config file %r (modified by user)"%f)
/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/IPython/utils/path.py:429: 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.""")

Come sistemarlo?

Risposte:


1

Hai un vecchio file di configurazione di iPython nella tua cartella home. Rinomina /Users/foouserbar/.ipythonin /Users/foouserbar/.ipython.olde riprova.

Utilizzando il nostro sito, riconosci di aver letto e compreso le nostre Informativa sui cookie e Informativa sulla privacy.
Licensed under cc by-sa 3.0 with attribution required.