Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

embed() fails if config files not installed #553

Closed
takluyver opened this Issue · 0 comments

2 participants

@takluyver
Owner

From Matthew Brett on the mailing list:

I tried:

from IPython import embed
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 issue from a commit
@minrk minrk 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
330ffc2
@minrk minrk closed this in 330ffc2
@ellisonbg ellisonbg referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@mattvonrocketstein mattvonrocketstein referenced this issue from a commit in mattvonrocketstein/ipython
@minrk minrk 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
1e0bf70
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.