-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Closed
Description
The way I understand it you should now be able to simply start a embedded console by
import IPython
IPython.embed()
However, this raises
TraitError: The 'exit_msg' trait of an InteractiveShellEmbed instance must be a string, but a value of u'' <type 'unicode'> was specified.
If we pass a string for exit_msg
by
IPython.embed(exit_msg='Whatever')
Then it raises a different error
AttributeError: 'InteractiveShellEmbed' object has no attribute 'set_completer'
Am I missing something here? I am using Python 2.6.1. Thanks a lot.