embed() fails if config files not installed #553

takluyver opened this Issue Jul 4, 2011 · 0 comments


None yet
2 participants

takluyver commented Jul 4, 2011

From Matthew Brett on the mailing list:

I tried:

from IPython import embed

and got:

Traceback (most recent call last):
IOError: File u'ipython_config.py' does not exist in any of the search
paths: (u'/Users/mb312/.ipython/profile_default',)

I was surprised that I could start ipython without this error, but the
embed() shell raised it. Obviously:

ipython profile create

solved that one, but maybe it would be worth documenting.

@minrk minrk closed this in 330ffc2 Jul 4, 2011

mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014

don't let missing config prevent embed from launching
load_default_config() shouldn't raise on absence of the default config file, since it won't exist for users who don't configure IPython.

closes gh-553
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment